Fix whitespace and indentation, per pep8

This commit is contained in:
Magnus Hagander
2019-01-17 20:47:43 +01:00
parent 87237f6536
commit 0883ac6423
114 changed files with 890 additions and 548 deletions

View File

@ -3,9 +3,11 @@ from django.contrib import admin
from pgweb.util.admin import PgwebAdmin
from models import PUG
class PUGAdmin(PgwebAdmin):
list_display = ('title', 'approved', )
list_filter = ('approved', )
search_fields = ('title', )
admin.site.register(PUG, PUGAdmin)