X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=comicsporn%2Fmodels.py;h=30248205e356666e4cdea88f0337f344a57c2971;hb=HEAD;hp=9a3f528759f45aad28a13bac0f754d820e93715f;hpb=25a48ac471d7927fbabe3f58b7793c74c1c6ee48;p=webcomics.git diff --git a/comicsporn/models.py b/comicsporn/models.py index 9a3f528..3024820 100644 --- a/comicsporn/models.py +++ b/comicsporn/models.py @@ -17,7 +17,8 @@ class Style(models.Model): TAG_NAME_CHOICES = ( (_('MG'), _('Manga')), (_('HF'), _('Heroic Fantasy')), - ) + (_('SF'), _('Science Fiction')), + ) name = models.CharField(_('name'), max_length=30, choices=TAG_NAME_CHOICES) def __unicode__(self): return self.name @@ -37,9 +38,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 +52,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'))