Indendation cleanup
authorJérôme Benoit <fraggle@rigel.piment-noir.org>
Fri, 1 Nov 2013 23:48:55 +0000 (00:48 +0100)
committerJérôme Benoit <fraggle@rigel.piment-noir.org>
Fri, 1 Nov 2013 23:48:55 +0000 (00:48 +0100)
Signed-off-by: Jérôme Benoit <fraggle@rigel.piment-noir.org>
comicsporn/__init__.pyc
comicsporn/admin.py
comicsporn/models.py
comicsporn/models.pyc

index 6559fb98d7b040472b3d7b3e72130d284ad548ce..449f99d422c04e2c27b5f0e7d761dc0af79de6fd 100644 (file)
Binary files a/comicsporn/__init__.pyc and b/comicsporn/__init__.pyc differ
index 395d8d3d0e7693f143caa1e021c0bd9451d0f72b..6e1f222af9cf4688bd82cc9d7f225b1e8e6f8083 100644 (file)
@@ -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)
index 0cea8c997e0274ae2acb65162a5bf9aa898c7dde..e0ed5dbd84d7d7561a0ac35a2f9fac44d1f4e871 100644 (file)
@@ -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')
index 1ad9b55f2b430574a88800a5177e4b904478bfab..5293f3479ba606095840d413638d294ca9a7f77b 100644 (file)
Binary files a/comicsporn/models.pyc and b/comicsporn/models.pyc differ