Hey there,

I'm working on a project that will run several related news sites from
a single Django installation. I'll be treating each site as a separate
project, complete with its own settings.py file and corresponding use
of the sites framework.

Where I run into trouble is with apps that are common to all sites, say
an article app. Currently I'm arbitrarily placing that app into one of
the sites and then referencing it in the others, which seems a bit
awkward. I have a similar problem with the views and templates.

I've bandied about a few ideas such as pulling the apps and/or
templates out of the projects directory into a main directory, or
creating a "common" project that isn't associated with any particular
site, but which contains all the common apps, views, and templates.
I'm worried that this violates a sacred principle of the Django
framework, which could have consequences down the road.

I'd really appreciate suggestions or advice others have from solving
similar problems. What are some ways that others have organized
multiple apps/projects/sites?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to