title: How do I restrict access to admin pages in Django?
body: <p>I need the Django admin interface to be accessible only for superusers and staff when in productions and show a 404 of all other types of users including when not logged in. Is this possible and how?</p>