Sites+Flatpages vs. Simple Model and view

2 views
Skip to first unread message

Peter Manis

unread,
Aug 6, 2008, 9:50:46 PM8/6/08
to django...@googlegroups.com
Hello

I am new to Django and have limited Python experience, my experience is primarily in PHP.  This question is less about flatpages+sites and more about do I really need to be that conscious of how much is really going on behind the scenes of Django.  Under a heavy load would flatpages+sites make much difference when compared to a simple model with a single view to pull the html from the database.  With a simple model and view it would be one query, but the way I understand it there would be a couple additional joins when you incorporate sites+flatpages.  In the real world caching would make this arguement pretty pointless and unless it was under very heavy load the joins shouldn't be a big deal.  I am simply using it as an example.

Thanks,

Peter
Reply all
Reply to author
Forward
0 new messages