Hi,

I'am new to django framework.

as i was looking on the data model each data model is a class that is
table in the database.

my qestion is if i have a table that want to retrive partial data from
the table

Example: (media object)

table [id, name , description, url , thumbnail ]

and i also want to cerate an object MediaHeader that containe only
[id, name , description]
and MediaData [id, name , description, url , thumbnail ]

some my view need to show only the data of MediaHeader and some of
them need only MediaData.

so is there is away to tell the data model to be able to read from a
specific table and a specific filed.

Thanks

-Mark
--~--~---------~--~----~------------~-------~--~----~
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