On Mon, Mar 22, 2010 at 5:53 PM, Tim Shaffer <timster...@gmail.com> wrote:
> It gives you multiple sites from one codebase with multiple settings
> files. They are using the same project module. So your project would
> look like this:
>
> project
> - app1
> - app2
> - settings.py
> - settings_site1.py
> - settings_site2.py
> - urls.py
>
> settings.py would contain all the settings like a normal django
> project, then settings_site1 and settings_site2 could import all those
> default settings and overwrite just the settings they need to (like
> SITE_ID and MEDIA_ROOT).


This is the method we use in production.

Nuno

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to