#2618: [patch] Added the ability for Site objects to have profiles.
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Contrib apps | Version: SVN
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Added the ability for Site objects to have profiles just like the User
objects.
Use this in your settings.py
SITE_PROFILE_MODULE = "yourAppName.yourModel"
and make sure that model has a foreign key to the
django.contrib.sites.models.Site model.
Now the Site object gets a get_profile()
This helps with multiple sites where each site had maybe a different zip
code, Welcome message, etc. and it can all be edited through the admin
site.
--
Ticket URL: <http://code.djangoproject.com/ticket/2618>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---