3 ms·
> I mean you can using proxy models but that's not really a thing with django. I think this is over-opinionated. You can use Proxy models, and this is a thing
by theptip 4y ago
> I mean you can using proxy models but that's not really a thing with django.
I think this is over-opinionated. You can use Proxy models, and this is a thing in Django. It’s not “Django 101” sure, but it’s not discouraged.
One reason you might want proxy models is if you want to only fetch certain columns for a specific type of usage. Another common use for proxy models is as a hack to get multiple Django Admin pages for the same model (again, perhaps pulling different fields or offering different views).