Source

django-uwsgi-admin-grappelli / README.rst

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)),
)