PREGUNTAS SIMILARES
#3
Publicado 01 junio 2014 - 21:39
Sólo debes agregar esta línea en tu archivo urls.py:
url(r'^appprueba/(.*)', user_passes_test(lambda u: u.is_superuser)(staff_only_app.site.root),