X-Git-Url: https://git.piment-noir.org/?p=webcomics.git;a=blobdiff_plain;f=comicsporn%2Fmodels.py;h=e0ed5dbd84d7d7561a0ac35a2f9fac44d1f4e871;hp=0cea8c997e0274ae2acb65162a5bf9aa898c7dde;hb=654133ef875bc5e3ac853050459509da240e7f14;hpb=d4e3d65f094eb757c34d39f8dec6f86f0ecd1e6f diff --git a/comicsporn/models.py b/comicsporn/models.py index 0cea8c9..e0ed5db 100644 --- a/comicsporn/models.py +++ b/comicsporn/models.py @@ -35,12 +35,12 @@ class UserProfile(models.Model): The default behaviour of class inheritance is to create OnetoOne relationship between parent and child TODO: Which fields are required to interact with the ads publisher ? """ - ADS_PUBLISHER_CHOICES = ( - ('AS', 'Advert Stream'), - ('TJ', 'Traffic Junky'), - ) - ads_publisher = models.CharField(max_length=50, choices=ADS_PUBLISHER_CHOICES) - ads_publisher_login = models.CharField(max_length=50) + ADS_PUBLISHER_CHOICES = ( + ('AS', 'Advert Stream'), + ('TJ', 'Traffic Junky'), + ) + ads_publisher = models.CharField(max_length=50, choices=ADS_PUBLISHER_CHOICES) + ads_publisher_login = models.CharField(max_length=50) class Meta: verbose_name = _('User profile')