tetafro
tetafro

Reputation: 546

Django authentication for multiple apps

I want to make two apps in my Django project - one for web pages (browser) and one for api calls (mobile app). Both apps should use same users for authentication. So how should I implement it? I want to make one more app for users, but is it the right way to make app with just one model and without any other logic?

Upvotes: 1

Views: 1407

Answers (1)

Navneet
Navneet

Reputation: 4813

You can use Custom User by extending the existing User model in Django. You can refer Extending user Model for more details.

Hope this helps.

Upvotes: 2

Related Questions