2👍
Django provides a backend authentication interface: http://docs.djangoproject.com/en/dev/topics/auth/#authentication-backends
Here, you can specify how you want the user to authenticate. You can use the local login() methods to authenticate the backoffice users, and whatever else you need for front end you can implement as needed. Either way, this is the place where you define that functionality.
Source:stackexchange.com