On Mon, 2009-05-11 at 22:19 -0700, George Song wrote:
> On 5/11/2009 8:55 PM, rpupkin77 wrote:
> > Hi, can I use the same table in two different models and surface
> > different data in each, model, particularly in the admin panel?
> 
> Sounds like a job for proxy models[1], each with its own default manager.

Or create the table some other way (perhaps with a third model) and use
unmanaged models (Meta.managed = False) for the two models you're
talking about. Overlaying models onto an already existing table is
normally a use-case for setting managed=False.

Regards,
Malcolm



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