X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=comicsporn%2Fmodels.py;h=30248205e356666e4cdea88f0337f344a57c2971;hb=662464aed641dcc6a111404d1c006de1a2c7e970;hp=8cde6b13f4a2b4877086e034dd5db6059d3f97e6;hpb=8e174089165882d8a20ce3e9d10fbba9711d3486;p=webcomics.git diff --git a/comicsporn/models.py b/comicsporn/models.py index 8cde6b1..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,9 +52,9 @@ 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 simplier to assemble afterwards for author + name = models.CharField(_('name'), max_length=50) # probably not useful, it's just simpler to assemble afterwards for author number = models.IntegerField(_('number')) content = models.ImageField(upload_to='block_contents') # TODO: probably not useful