Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 7, 2005 19:33:47

Joe T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Aggregating multiple models


Hello -I finally have some time to check out Django and I absolutely love it.
I started my first project yesterday, so I'm sorry if something like
this has already come up on the list before.I'm going to have several different models: articles, headlines,
reviews, etc.  All have to do with publishing stories, but all are
different in their own ways.  For instance, an article just has a
title and a body but a review has a title, body, amazon url, etc.I'd like for all of these different types to be on the front page
blog-style with newest first.  What would be the easiest way to
aggregate all of these?Thanks!--Joe Topjianemail:web:http://adminspotting.net

Offline

#2 Nov. 8, 2005 02:10:53

Joe T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Aggregating multiple models


I'm going to have several different models: articles, headlines,
reviews, etc.  All have to do with publishing stories, but all are
different in their own ways.  For instance, an article just has a
title and a body but a review has a title, body, amazon url, etc.I'd like for all of these different types to be on the front page
blog-style with newest first.  What would be the easiest way to
aggregate all of these?Nevermind. It's been a long time since I've worked with databases from scratch.  My question was an RDBM question and not a django-specific question.  I think I've got a good schema to go off of for this.--Joe Topjianemail:web:http://adminspotting.net

Offline

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support