Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Switch to grapelli admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Giesler committed Jan 29, 2015
1 parent 13a28df commit 2645f68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def static_paths(paths):
'django.contrib.flatpages',
'django.contrib.humanize',
# Uncomment the next line to enable the admin:
'grappelli',
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
'django.contrib.admindocs',
Expand Down Expand Up @@ -373,3 +374,5 @@ def static_paths(paths):
}

CRISPY_TEMPLATE_PACK = 'bootstrap3'

GRAPPELLI_ADMIN_TITLE = "Vumi Go Admin"
1 change: 1 addition & 0 deletions go/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def health(request):
urlpatterns = patterns(
'',
# django admin site
url(r'^grappelli/', include('grappelli.urls')),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls)),

Expand Down

0 comments on commit 2645f68

Please sign in to comment.