Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed PEP8 fallacies.

  • Loading branch information...
commit 64d78d14fe56f994df11ed4fced14ede5c57a6fa 1 parent f9367b3
@jezdez jezdez authored
Showing with 13 additions and 13 deletions.
  1. +13 −13 django_website/aggregator/admin.py
View
26 django_website/aggregator/admin.py
@@ -19,23 +19,23 @@ def mark_denied(modeladmin, request, queryset):
admin.site.register(Feed,
- list_display = ["title", "feed_type", "public_url", "approval_status"],
- list_filter = ["feed_type", "is_defunct", "approval_status"],
- ordering = ["title"],
- search_fields = ["title", "public_url"],
- raw_id_fields = ['owner'],
- list_editable = ["approval_status"],
- list_per_page = 500,
- actions = [mark_approved, mark_denied],
+ list_display=["title", "feed_type", "public_url", "approval_status"],
+ list_filter=["feed_type", "is_defunct", "approval_status"],
+ ordering=["title"],
+ search_fields=["title", "public_url"],
+ raw_id_fields=['owner'],
+ list_editable=["approval_status"],
+ list_per_page=500,
+ actions=[mark_approved, mark_denied],
)
admin.site.register(FeedItem,
- list_display = ['title', 'feed', 'date_modified'],
- list_filter = ['feed'],
- search_fields = ['feed__title', 'feed__public_url', 'title'],
- date_heirarchy = ['date_modified'],
+ list_display=['title', 'feed', 'date_modified'],
+ list_filter=['feed'],
+ search_fields=['feed__title', 'feed__public_url', 'title'],
+ date_heirarchy=['date_modified'],
)
admin.site.register(FeedType,
- prepopulated_fields = {'slug': ('name',)},
+ prepopulated_fields={'slug': ('name',)},
)
Please sign in to comment.
Something went wrong with that request. Please try again.