TAG_NAME_CHOICES = (
(_('MG'), _('Manga')),
(_('HF'), _('Heroic Fantasy')),
- )
+ )
name = models.CharField(_('name'), max_length=30, choices=TAG_NAME_CHOICES)
def __unicode__(self):
return self.name
TODO: Which fields are required to interact with the ads publisher ?
"""
ADS_PUBLISHER_CHOICES = (
- ('AS', 'Advert Stream'),
+ ('AS', 'Advert Stream'),
('TJ', 'Traffic Junky'),
- )
+ )
ads_publisher = models.CharField(_('Ads publisher'), max_length=50, choices=ADS_PUBLISHER_CHOICES)
ads_publisher_login = models.CharField(_('Ads publisher login'), max_length=50)
class Comic_block(models.Model):
"""
- Let's view a comics as an images series
+ Let's view a comics as an image series
"""
name = models.CharField(_('name'), max_length=50) # probably not useful, it's just simpler to assemble afterwards for author
number = models.IntegerField(_('number'))