On Tuesday 27 December 2016 05:51:55 M Hashmi wrote:

> I created a model Address like a normal practice below. Now I need to
> create a subclass without using models.Model. But its not letting me
> do because obviously it won't create tables unless I call
> models.Model in class parameters.
> 
> Idea is to create a model and use that model with non db reference 
in
> admin.py. Following is the code:

It's quite unclear what you want and why you want it especially. What 
does this other Address model represent?
-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5208735.ZJ1U0fmsWf%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to