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
No comments:
Post a Comment