Thursday, September 30, 2010

Re: Separating application media from project media

If the ideal solution for you is different sites, one authentication,
I found a reference in...
http://stackoverflow.com/questions/556907/how-to-get-distinct-django-apps-on-same-subdomain-to-share-session-cookie

...pointing to a "django-cas" application that is meant for that
purpose (Single Sign-On).
http://code.google.com/p/django-cas/

You could give it a try. (Disclaimer: didn't try it myself)


On 30 Set, 10:32, Benedict Verheyen <benedict.verhe...@gmail.com>
wrote:
> Anyway, i was able to put the templates and media in the application
> in the end but since it was so much trouble, it probably means it's not
> the way to go. If you want code on how i did it, shoot and I'll post it here.
> There are only 2 things why i want to keep this code structure:
> - the central login shared among applications
> - if feels cleaner to share code if you're working with applications instead of
>    projects.
>
> If i could do the login across projects, i would go for 1 application = 1 project.
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment