That's exactly what I was thinking, but I need to test it. Thanks!
On Tue, Jun 30, 2020 at 12:54 PM Julio Cojom <jul.alejandro5@gmail.com> wrote:
What about using DRF with token login?--El jue., 25 jun. 2020 a las 13:26, Dave R (<rashtyda@gmail.com>) escribió:I keep running into this problem and started working on a custom solution... but before I spend hours on this, I want to confirm that such a package/solution doesn't already exist.--
I was working on a large project last year that involved a single set of users and many small applications. I made each application a Django app and had them all tied together in one database. There was only one database dependency between the applications: the User table.
This became almost impossible to maintain for multiple reasons:* I had two apps that required different values in settings.py* The test suite took forever to run* One of the apps was developed originally using Postgres and I had to spend hours hacking through code getting it to work with MySQL* I had to share my entire code base to employ freelancers* I had to deprecate one of the apps and this became a project in itself (i.e., remove references in settings.py, dropping database tables, etc.)
Next time I'm in this situation, I'd like to develop each application as a separate Django project and have them authenticate (via OpenID Connect) to a project dedicated to this (e.g., accounts.mysite.com).
Has anyone seen an out-of-the-box solution for this? The question is very open-ended.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0050a73c-fc46-449b-b087-a9f99508fadeo%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/TJQ_2Kx4O2U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHRQUHmRr_PFJpGA2sq%2B7bp4ci0pGo4es%2BxMP_CNdwM-NyTgwg%40mail.gmail.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALGYj_1q2bsEeXOhY9MONh%3DU6sMjtxyrxFG0TFDCnB%3DHQ9JOUA%40mail.gmail.com.
No comments:
Post a Comment