mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Fix import order, per pep8
This commit is contained in:
@ -1,13 +1,7 @@
|
||||
from django.conf.urls import include, url
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
# Register our save signal handlers
|
||||
from pgweb.util.signals import register_basic_signal_handlers
|
||||
register_basic_signal_handlers()
|
||||
|
||||
# Uncomment the next two lines to enable the admin:
|
||||
from django.contrib import admin
|
||||
admin.autodiscover()
|
||||
|
||||
import pgweb.contributors.views
|
||||
import pgweb.core.views
|
||||
@ -30,6 +24,13 @@ from pgweb.core.feeds import VersionFeed
|
||||
from pgweb.news.feeds import NewsFeed
|
||||
from pgweb.events.feeds import EventFeed
|
||||
|
||||
# Uncomment the next two lines to enable the admin:
|
||||
from django.contrib import admin
|
||||
admin.autodiscover()
|
||||
|
||||
# Register our save signal handlers
|
||||
register_basic_signal_handlers()
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', pgweb.core.views.home),
|
||||
url(r'^dyncss/(?P<css>base|docs).css$', pgweb.core.views.dynamic_css),
|
||||
|
Reference in New Issue
Block a user