Hi ,

I have 2 separate django websites/projects. They also have some common
reusable django apps. I would like to "bridge" these 2 websites so as
one is the maindomain.com and the other appears as a
subdomain.maindomain.com. In main domain there will be a href and
hence redirected to subdomain.maindomain.com.

1. As I mentioned before they share some reusable apps so I  am
thinking that these 2 projects could share a database. Though have 2
separate settings.py. Dont know if this the right approach!

2. I would like user to remain logged in if navigate from
maindomain.com to subdomain.maindomain.com and vice versa. In other
words user should be authenticated for both projects whether he/she
login/register in one or other project. Not sure if there will be an
issue, or I am taking rubbish. Note both projects use standard/build
in django auth and registration.

3. I have to admit I havent tested yet (so is it about cookies and
sessions?), but anyone more experienced could please advise on that ,
or perhaps say if this is doable or not (Actually, of course it is! it
must be easier than bridging a php website and a django website :P )?

Regards,
Kaftana

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to