On 8/5/2010 12:42 PM, snipinben wrote:
> 
> I need help doing something probably very simple. so i have two tables,
> Customers and Orders. now i know how to make access to both tables sepratly
> in the admin framework. but i need something else. i was wondering if there
> was a way to access the orders table through thr Customers page. like say i
> chose to view the information for the customr Juan Mase. i click on his name
> and i see all of his info, is there a way that along with this info, a
> button is added that might say view customer orders and when i click on it,
> it brings me to the  orders table page that correspond to Juan Mase. like a
> link button or something? thanks

Are you asking how to do this using the ORM, or how to do it in the user
interface? It's actually pretty straightforward to follow foreign key
relationships, which seems to be what you are asking about.

regards
 Steve
-- 
I'm no expert.
"ex" == "has-been"; "spurt" == "drip under pressure"
"expert" == "has-been drip under pressure".

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to