upload/models.py
changeset 18 07408d1ced76
parent 17 08a47999f316
child 24 7bf724544c9b
--- a/upload/models.py	Thu Sep 03 17:31:12 2009 +0530
+++ b/upload/models.py	Thu Sep 03 18:37:48 2009 +0530
@@ -8,7 +8,7 @@
     ('Bengali', 'Bengali'),
     ('Bodo', 'Bodo'),
     ('Dogri', 'Dogri'),
-    ('English', 'English')
+    ('English', 'English'),
     ('Gujarati', 'Gujarati'),
     ('Hindi', 'Hindi'),
     ('Kannada', 'Kannada'),
@@ -41,8 +41,9 @@
 	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')
+	other_lang = models.CharField(max_length = 256, 
+															  verbose_name='If Others, specify',
+															  blank=True, null=True)
 	phonenumber = models.CharField(max_length=15)
 	age = models.IntegerField(max_length=3)
 	category = models.CharField(max_length = 80, choices=CATEGORY_CHOICES)	
-