Answer the question
In order to leave comments, you need to log in
How to implement access to paid content in django?
Guys, hello everyone. I need help with the selection of a technology stack and logic for the project.
Concept:
There is a service where people are offered educational articles in the form of courses. People can watch a certain amount for free, and for everything else you need to register and pay for access. In general, the functionality repeats netology.ru partially, of course.
Here, I'm writing this whole thing on django and I have a question:
I want to bind this whole thing to the status of the client and throw it into the database. Tasks:
1) How to throw a person into the database and assign rights to him.
2) How to hide content and give it to those who have it.
3) How to send a payment so that it changes the status of the client?
Perhaps the questions are stupid, but something I'm at a loss now. Please point me in the right direction.
Answer the question
In order to leave comments, you need to log in
Permission mixins appeared in Django 1.9, if I'm not mistaken they will help you in restricting access to content, well, you can limit it even without it, the last question depends on the payment system you have chosen, usually payment systems send a request to the server indicating the payment status and all that, for example, there is even an application for django for robokassa.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question