On 5/20/06, David Robinson <[EMAIL PROTECTED]> wrote: > My question is about the site ID in each project's settings.py file. > What does that number mean in a situation like ours? I appreciated the > explanation of the difference between an app and a project, but I > haven't been able to figure out how "site ID" ends up factoring into things.
The "sites" model is there to make it easy to share and reuse content among multiple sites; for example, at World Online we've got three public-facing sites -- ljworld.com, lawrence.com and kusports.com -- which all need to share certain features and bits of content. Using Django and the "sites" model, we can produce a particular content object once and then direct it to appear on one, two or all three sites as necessary. As for the "site ID" setting, this tells Django which site that project belongs to, so that it knows how to sort out what shows up where. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---