0

Can I use Django authentication completely interdependent from users. My use case is simple, I have a form which once completed allows the person to access the API in that session. The API is tastypie and authentication is session based I think so I need a valid session.

How can this be done?

1 Answer 1

1

No, but that doesn't mean you need to have anything in database. You can write your own session engine and authentication backend. The former needs to return a valid user object, but it doesn't need to be retrieved from anywhere specifically, you can craft it manually.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.