upload/models.py
changeset 13 b0175fed9d20
parent 12 0a2b4e85a4ab
child 17 08a47999f316
--- a/upload/models.py	Wed Sep 02 23:25:20 2009 +0530
+++ b/upload/models.py	Wed Sep 02 23:34:38 2009 +0530
@@ -3,37 +3,37 @@
 # Create your models here.
 
 class Participant(models.Model):
-	LANGUAGE_CHOICES = [
-('Assamese', 'Assamese/Axomiya'),
-('Bengali', 'Bengali'),
-('Bodo', 'Bodo'),
-('Dogri', 'Dogri'),
-('Gujarati', 'Gujarati'),
-('Hindi', 'Hindi'),
-('Kannada', 'Kannada'),
-('Kashmiri', 'Kashmiri'),
-('Konkani', 'Konkani'),
-('Maithili', 'Maithili'),
-('Malayalam', 'Malayalam'),
-('Manipuri', 'Manipuri'),
-('Marathi', 'Marathi'),
-('Nepali', 'Nepali'),
-('Oriya', 'Oriya'),
-('Punjabi', 'Punjabi'),
-('Sanskrit', 'Sanskrit'),
-('Santali', 'Santali'),
-('Sindhi', 'Sindhi'),
-('Tamil', 'Tamil'),
-('Telugu', 'Telugu'),
-('Urdu', 'Urdu'),
-]
+	LANGUAGE_CHOICES = (
+    ('Assamese', 'Assamese/Axomiya'),
+    ('Bengali', 'Bengali'),
+    ('Bodo', 'Bodo'),
+    ('Dogri', 'Dogri'),
+    ('Gujarati', 'Gujarati'),
+    ('Hindi', 'Hindi'),
+    ('Kannada', 'Kannada'),
+    ('Kashmiri', 'Kashmiri'),
+    ('Konkani', 'Konkani'),
+    ('Maithili', 'Maithili'),
+    ('Malayalam', 'Malayalam'),
+    ('Manipuri', 'Manipuri'),
+    ('Marathi', 'Marathi'),
+    ('Nepali', 'Nepali'),
+    ('Oriya', 'Oriya'),
+    ('Punjabi', 'Punjabi'),
+    ('Sanskrit', 'Sanskrit'),
+    ('Santali', 'Santali'),
+    ('Sindhi', 'Sindhi'),
+    ('Tamil', 'Tamil'),
+    ('Telugu', 'Telugu'),
+    ('Urdu', 'Urdu'),
+    )
 
-CATEGORY_CHOICES = [
-('Student at IIT','Student at IIT'),
-('Staff and family','Staff and family'),
-('Faculty and family','Faculty and family'),
-('Others','Others'),
-]
+	CATEGORY_CHOICES = (
+		('Student at IIT','Student at IIT'),
+    ('Staff and family','Staff and family'),
+    ('Faculty and family','Faculty and family'),
+    ('Others','Others'),
+	  )
 
 	name = models.CharField(max_length = 50)
 	email = models.EmailField()
@@ -42,5 +42,3 @@
 	phonenumber = models.CharField(max_length=15)
 	age = models.IntegerField(max_length=3)
 	category = models.CharField(max_length = 80, choices=CATEGORY_CHOICES)
-
-