Changeset 57
- Timestamp:
- 07/07/09 16:58:32 (3 years ago)
- Files:
-
- 1 modified
-
plesonet_contentareas/trunk/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plesonet_contentareas/trunk/models.py
r49 r57 21 21 22 22 class ContentArea(models.Model): 23 EXISTING_NAMES = ( ('contacts_form', _('Contacts form')),24 ('article_form', _('Send article from')), )23 # EXISTING_NAMES = ( ('contacts_form', _('Contacts form')), 24 # ('article_form', _('Send article from')), ) 25 25 26 name = models.CharField(_('Name'), max_length = 255, choices= EXISTING_NAMES)26 name = models.CharField(_('Name'), max_length = 255, choices=settings.CONTENT_AREAS_NAMES) 27 27 #language = models.CharField(max_length = 2, choices = settings.LANGUAGES, verbose_name=_('Language'), blank=False, null=False) 28 28 body = models.TextField(_('Body'))

