How can different django apps on the same project share the same authentification page to log in to the same site ?

13 views
Skip to first unread message

linda lebdjiri

unread,
Jun 15, 2021, 11:52:42 AM6/15/21
to Django users
i'm developing a site where there is two  users each of them have their specific web pages,and they are registerd in separate tables in the data base  i've created 2 apps  i've already linked each app with the corresponding interfaces ,i've created a templates folder and for each app i've created a sub folder in it where i've put the html. they work separately fine when i put the url in the main project folder and run the server so how can i from one authentification page let each user log in proporley to their specific webpages

Boris Pérez

unread,
Jun 15, 2021, 12:22:37 PM6/15/21
to django...@googlegroups.com
Hi Linda, authentication backend is only one for entire site..if any
user is authenticated the system recognizes it...no matter if u have
only one or multiple authentication pages...
Greetings
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/50203443-c78d-4ea0-9bd9-d1e10399372dn%40googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages