--- a/upload/models.py Thu Sep 03 00:17:30 2009 +0530
+++ b/upload/models.py Thu Sep 03 17:31:12 2009 +0530
@@ -8,6 +8,7 @@
('Bengali', 'Bengali'),
('Bodo', 'Bodo'),
('Dogri', 'Dogri'),
+ ('English', 'English')
('Gujarati', 'Gujarati'),
('Hindi', 'Hindi'),
('Kannada', 'Kannada'),
@@ -26,19 +27,22 @@
('Tamil', 'Tamil'),
('Telugu', 'Telugu'),
('Urdu', 'Urdu'),
+ ('Other', 'Other')
)
CATEGORY_CHOICES = (
('Student at IIT','Student at IIT'),
- ('Staff and family','Staff and family'),
- ('Faculty and family','Faculty and family'),
- ('Others','Others'),
- )
+ ('Staff and family','Staff and family'),
+ ('Faculty and family','Faculty and family'),
+ ('Others','Others'),
+ )
name = models.CharField(max_length = 50)
email = models.EmailField()
filename = models.FileField(upload_to='videos/%Y/%m/%d')
language = models.CharField(max_length = 20, choices=LANGUAGE_CHOICES)
+ other_lang = models.CharField(max_length = 256, verbose_name='If Others, specify')
phonenumber = models.CharField(max_length=15)
age = models.IntegerField(max_length=3)
- category = models.CharField(max_length = 80, choices=CATEGORY_CHOICES)
+ category = models.CharField(max_length = 80, choices=CATEGORY_CHOICES)
+