I have a few questions regarding a past topic which is now closed to comments after 30 days of inactivity: http://groups.google.com/group/django-users/browse_thread/thread/ca0485ca0ce4da56/4cb89ff5aa5dcb5d?lnk=gst&q=sites&rnum=1#4cb89ff5aa5dcb5d
My questions revolve around trying to have multiple sites share a common application in a local environment running the django development server. Say, for example, I have a project where two sites are to share a common blog application. My project structure is as follows: project/ common/ settings.py blog/ site1/ settings.py site2/ settings.py 1) Is this a logical file structure to ensure both site1 and site2 have access to the common/blog application? 2) Should my common/settings.py file be placed in the global project directory so the other settings.py files can inherit global settings? 3) if site1 and site2 are inheriting global settings, can their settings.py files simply contain the variables which are different from common such as SITE_ID, COOKIE_NAME, SECRET_KEY and TEMPLATE_DIRS and still access all the global settings from common/settings.py? 4) Should common/settings.py have a SITE_ID defined even though it is not a "site" - rather it is a location for common apps and settings. 5) Can anyone shed some light on how to test the two sites? If i run "python manage.py runserver 8081" from /project/site1/ I get an excpetion on the site when trying to access the blog: 'No module named common.blog.models' Which means I'm apparently not inheriting the global settings properly. I'm sorry for the long question and my complete novice approach to all of this. I feel like the "django multiple site" lightbulb is just above my head, and i need someone to help me reach up and turn it on. Many thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---