From: Web developement Date: Sun, 24 Nov 2013 15:49:00 +0000 (+0100) Subject: Small cleanup X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3b8035e297f518bf24684fc956ca01eaa7bd3f89;p=webcomics.git Small cleanup Signed-off-by: Web developement --- diff --git a/comicsporn/models.py b/comicsporn/models.py index 9a3f528..3a31bfb 100644 --- a/comicsporn/models.py +++ b/comicsporn/models.py @@ -17,7 +17,7 @@ class Style(models.Model): 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 @@ -37,9 +37,9 @@ class UserProfile(models.Model): 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) @@ -51,7 +51,7 @@ class UserProfile(models.Model): 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'))