71 gender = models.CharField(max_length = 1, choices = GENDER_CHOICES) |
71 gender = models.CharField(max_length = 1, choices = GENDER_CHOICES) |
72 rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT") |
72 rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT") |
73 credits = models.PositiveSmallIntegerField(default = 0) |
73 credits = models.PositiveSmallIntegerField(default = 0) |
74 |
74 |
75 aboutme = models.TextField(blank = True) |
75 aboutme = models.TextField(blank = True) |
76 foss_comm = TagField() |
76 foss_comm = TagField(verbose_name="FOSS Communities") |
77 phonenum = models.CharField(max_length = 15, blank = True, verbose_name = u"Phone Number") |
77 phonenum = models.CharField(max_length = 15, blank = True, verbose_name = u"Phone Number") |
78 homepage = models.URLField(blank = True, verbose_name = u"Homepage/Blog") |
78 homepage = models.URLField(blank = True, verbose_name = u"Homepage/Blog") |
79 street = models.CharField(max_length = 80, blank = True) |
79 street = models.CharField(max_length = 80, blank = True) |
80 city = models.CharField(max_length = 25, blank = True) |
80 city = models.CharField(max_length = 25, blank = True) |
81 country = models.CharField(max_length = 25, blank = True) |
81 country = models.CharField(max_length = 25, blank = True) |
90 prim_key = models.AutoField(primary_key = True) |
90 prim_key = models.AutoField(primary_key = True) |
91 id = models.CharField(max_length = 10, unique = True) |
91 id = models.CharField(max_length = 10, unique = True) |
92 title = models.CharField(max_length = 100, verbose_name = u"Title", help_text = u"Keep it simple and below 100 chars.") |
92 title = models.CharField(max_length = 100, verbose_name = u"Title", help_text = u"Keep it simple and below 100 chars.") |
93 desc = models.TextField(verbose_name = u"Description") |
93 desc = models.TextField(verbose_name = u"Description") |
94 status = models.CharField(max_length = 2, choices = STATUS_CHOICES, default = "UP") |
94 status = models.CharField(max_length = 2, choices = STATUS_CHOICES, default = "UP") |
95 tags_field = TagField() ## must be named some thing decent later on |
95 tags_field = TagField(verbose_name = u"Tags") |
96 |
96 |
97 credits = models.PositiveSmallIntegerField() |
97 credits = models.PositiveSmallIntegerField() |
98 progress = models.PositiveSmallIntegerField(default = 0) |
98 progress = models.PositiveSmallIntegerField(default = 0) |
99 |
99 |
100 mentors = models.ManyToManyField(User, related_name = "%(class)s_mentors") |
100 mentors = models.ManyToManyField(User, related_name = "%(class)s_mentors") |