From 654133ef875bc5e3ac853050459509da240e7f14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 2 Nov 2013 00:48:55 +0100 Subject: [PATCH] Indendation cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- comicsporn/__init__.pyc | Bin 142 -> 142 bytes comicsporn/admin.py | 10 +++++----- comicsporn/models.py | 12 ++++++------ comicsporn/models.pyc | Bin 4380 -> 4380 bytes 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/comicsporn/__init__.pyc b/comicsporn/__init__.pyc index 6559fb98d7b040472b3d7b3e72130d284ad548ce..449f99d422c04e2c27b5f0e7d761dc0af79de6fd 100644 GIT binary patch delta 15 WcmeBU>|;mDSh8dydpiIkd<3EZ delta 15 WcmeBU>|;l2*i|@@y&V7{`2?N- diff --git a/comicsporn/admin.py b/comicsporn/admin.py index 395d8d3..6e1f222 100644 --- a/comicsporn/admin.py +++ b/comicsporn/admin.py @@ -18,19 +18,19 @@ admin.site.unregister(User) admin.site.register(User, UserAdmin) class Comic_blockInline(admin.TabularInline): - model = Comic.blocks.through - extra = 10 + model = Comic.blocks.through + extra = 10 class ComicAdmin(admin.ModelAdmin): - fieldsets = [ + fieldsets = [ (_('Title'), {'fields': ['title']}), (_('Online'), {'fields': ['is_online']}), (_('Comic block'), {'fields': ['blocks']}), ] - inlines = [ + inlines = [ Comic_blockInline, ] admin.site.register(Comic_block) - + admin.site.register(Comic) 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') diff --git a/comicsporn/models.pyc b/comicsporn/models.pyc index 1ad9b55f2b430574a88800a5177e4b904478bfab..5293f3479ba606095840d413638d294ca9a7f77b 100644 GIT binary patch delta 16 XcmbQEG)IY@`7