Thanks for the reply. I realize it would be substantially easier to use mysite.com/blog type urls, but I would still prefer use the blog.mysite.com since that is often the convention.
You bring up a good point about the authentication though. I had not thought of that. While it would be preferable to have them stay logged in across the apps, this is not terrible. Also though, I am not an expert on cookies, but can't you set cookies that were valid for a domain and all it's subdomains? I'm not sure if the cookies created by Django by default are set to work this way, but maybe there is some way to tweak Django in this respect. Also, I could be wrong about the whole thing. Again, thanks for your reply. Unfortunately, I'm still trying to figure this out. Does anyone else have any suggestions? Thanks On Oct 16, 7:32 pm, Kevin Teague <ke...@bud.ca> wrote: > This isn't Django-specific, but to simplify things, you may want to go > for: > > mysite.com/blog > mysite.com/forums > mysite.com/custom > > Since browsers send authentication based on the domain, if you use > different sub-domains for each app in a web site, it will be necessary > to login (albiet using the same credentials) for each application. > > And then give that structure, you'd have one Django project with > multiple installed applications. > > Also, speaking from experience, when managing a site with multiple > applications, if you can push the authentication part into it's own > thing (e.g. a standalone WSGI middleware and app), that can be > desirable, since you would be able to use the same credentials then if > one of your apps was a non-Django app. Although I don't have any > advice on what set-up to use to accomplish this ... it's still just > something on my own to-do list - to be able to login to a Plone app, > Django admin app, Grok app, JIRA, etc. all using the same set of > credentials. My user's complain "waaaa! we don't like logging in > repeatedly!" (they do all use the same accounts for these apps, but > they have to login separately for each one). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---