These are chat archives for django/django

26th
Jul 2017
leeeandroo
@leeeandroo
Jul 26 2017 01:00

Hello all,

I'm facing a problem, could someone try to help me If already play with this scenario?

I have two django apps, running on differents subdomains, both of them share the same database and user authentication. I would like to config my apps to allow the same user login in app1 without downs the session on app2.
Currently, If I login in app1 in chrome and login in app2 in firefox, app1 logout automatically.

I tried to use the same secret key in both apps and changed the SESSION_ENGINE to 'django.contrib.sessions.backends.signed_cookies'

Job Matheka
@jobm
Jul 26 2017 03:53
@leeeandroo use django-mama-cas.
https://django-mama-cas.readthedocs.io/en/latest/
Andrew Backer
@awbacker
Jul 26 2017 07:19
@Guidona quick google of "python proxy" returns http://voorloopnul.com/blog/a-python-proxy-in-less-than-100-lines-of-code/
leeeandroo
@leeeandroo
Jul 26 2017 11:59
@jobm Thanks, I'll take a look on it!
Milan Leon
@milanmaximo
Jul 26 2017 12:00
hello all... I am newbie and I would like to ask just for a little help about Django :worried:
Anish Shrestha
@annshress
Jul 26 2017 13:35
@milanmaximo Just post you query
Nikhil Allamsetti
@niklul
Jul 26 2017 18:22

Hello,

I'm trying to use mongodb in my django project. But, django-nonrel doesn't support modern versions of django. Is there any easy way to use mongo without django-nonrel?

Nikhil Allamsetti
@niklul
Jul 26 2017 20:12
@dixon-che Thanks! That should do it :smiley:
Aleksey Radchenko
@dixon-che
Jul 26 2017 20:13
be careful: “THIS IS UNSTABLE PROJECT, IF YOU WANT TO USE IT - FIX WHAT YOU NEED” ;)
Nikhil Allamsetti
@niklul
Jul 26 2017 20:14
@dixon-che I guess i will loose the dango admin panel like this :worried:
i'm newbie with this package, let's read documentation together :)