Reputation: 33625
I need to authorise a user on my Django powered site, but...
The user is not part of the Django user system (user table). However, I would it to behave like they have an active session just like they had logged like as a normal user.
Is this possible with Django, does Django support this sort of scenario?
I'm looking to be pointed in the right direction as I'm struggling to find information.
Upvotes: 0
Views: 69
Reputation: 2882
Looks like django-lazysignup does exactly what you are looking for.
Upvotes: 1
Reputation: 3135
Well how are you going to authenticate the user if they are not in Django user system?
If there is another table or some other way you want to authenticate a user, you can write a custom authentication backend and plug it in. See django documentation on this.
Upvotes: 2