1. David Bennett
  2. django-uwsgi-admin-grappelli

Source

django-uwsgi-admin-grappelli /

Filename Size Date modified Message
uwsgi_admin
63 B
40 B
886 B
5.0 KB

django-uwsgi-admin-grappelli

This is a version of the uWSGI Django App that looks nice when using the Django Grappelli admin theme. I've turned it into an installable app for convenience.

Here's an example of how you might want to include it in your urls.py:

try:
    import uwsgi
    urlpatterns = patterns('',
        url(r'^admin/uwsgi/', include('aportal.uwsgi_admin.urls')),
    )
except ImportError:
    urlpatterns = ()

urlpatterns += patterns('',
    url(r'^grappelli/', include('grappelli.urls')),
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)