Answer the question
In order to leave comments, you need to log in
Django how to configure authorization by prefixes?
I've been picking Django for a week - I ask you not to throw tomatoes.
In general, I have three classes extending the User model - Admin, Kid and Teacher
urls.py
urlpatterns = patterns(
...
url(r'^kid/', include('users.urls_kid')),
url(r'^teacher/', include('users.urls_teacher')),
url(r'^admin/', include('users.urls_admin')),
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question