On Tue, Jun 14, 2011 at 1:53 PM, Satyajit Sarangi
<
writeto...@gmail.com> wrote:
> I want to create a model that brings user_id of the user_auth table as
> foreign key , layer_id from layer table(defined by me) as also a
> foreign key . Combine both to form a primary key . and have another
> integer called perm .
> My model looks like this
get_for_model takes a model type (eg User) or a model instance. It
does not take a string.