Ok! but if I share the database  for the Authentication then will not be 
required registration for each site. I want a system similar to that used 
on StackExchange, for each site is required to register but the username 
doesn't change it is always the same for all sites.

Thank you very much! I will try with your solution.


Il giorno mercoledì 22 agosto 2012 04:26:47 UTC+2, Kurtis ha scritto:
>
> I've never tried this approach; but maybe you could use the multi-database 
> feature of Django to share a database for the Authentication/Sessions 
> components? (https://docs.djangoproject.com/en/dev/topics/db/multi-db/)
>
> On Tue, Aug 21, 2012 at 7:39 PM, Mustapha Aoussar 
> <mustapha...@gmail.com<javascript:>
> > wrote:
>
>> Dear sirs,
>> I have split my Django application into two sites with different 
>> databases. I use OpenID (python_openid 2.2.5) for 
>> authetication/registration but users of ''site A'' are different from 
>> ''site B''.
>>
>> How can I do to centralize logins between apps running on different 
>> databases?
>>
>> I have seen this article by Joseph Smarr at Plaxo (
>> http://www.netvivs.com/openid-recipe/) and this Stackoverflow question (
>> http://stackoverflow.com/questions/4395190/how-do-stackexchange-sites-associate-user-accounts-and-openid-logins)
>>  
>> but i don't know how can I do this with django.
>>
>> Can you help me please?
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/oHVzCzIer48J.
>> To post to this group, send email to django...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> django-users...@googlegroups.com <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/1k5FaVBVRNYJ.
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