down votefavorite 
<https://stackoverflow.com/questions/46139938/how-to-use-sites-framework-in-live-server-django#>

I am a beginner in django and i used sites framework 
<https://docs.djangoproject.com/en/dev/ref/contrib/sites/> to make multiple 
instances of a website use the same code and database but the document says:

In order to serve different sites in production, you’d create a separate 
settings file with each SITE_ID (perhaps importing from a common settings 
file to avoid duplicating shared settings) and then specify the appropriate 
DJANGO_SETTINGS_MODULE for each site.

Is that means i must create a folder that have different settings files for 
each *django_site*? if yes, what should i name this settings files? thanks.

import os

os.environ["DJANGO_SETTINGS_MODULE"] = "agileengage.settings"
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/98ccf9aa-5941-4876-9430-94dd50e095e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to