On 01-Dec-06, at 8:05 PM, Eric Lake wrote:

>> 1) If it is all in one table then doing a search for information  
>> on the
>> entire site would be easier.
>> 2) If they are separated then adding a new page later would be  
>> done by
>> just adding a new class to the model.py.

i would go for one table, but there is a problem - since the page is  
a drop down select, whats to prevent people from adding pages in  
areas other than their own? My solution would be to keep this out of  
admin and have add-edit-delete page forms in the site itself where  
you can control which users can edit which pages. This also makes  
sense since admin should be restricted to the overall admin of the  
site with just a few key persons allowed in. The rest should do their  
work outside admin.

if you want to do this in admin - then you need one table per page

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to