Hi,
You're probably after EAV pattern (or anti-pattern depending who you ask).
Implementing that in Django is relatively trivial, though with any kind
of dynamics you'll going to loose most of the ORM goodies.
This kind of leads to question that is Django ORM really needed for you
at all? How about having NoSQL databases like ArangoDB to handle all the
dynamics?
On 04.01.2017 22:38, Guilherme Leal wrote:
Is there a way to populate Django model cache on the fly?
I was thinking about saving the model definition on some backend
(database for instance) and loading as needed. This way we can
basically build a custom admin interface for the model definitions,
and load the models (through "type()" or something similar) into the
cache "on the fly".
Guilherme Leal
--
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
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto: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/CAOs3Lp7_R4RK%3DVconoQ1W6rzK8xYaiVJX-FHtyZ3Cxg4MmbOow%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CAOs3Lp7_R4RK%3DVconoQ1W6rzK8xYaiVJX-FHtyZ3Cxg4MmbOow%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen
--
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/8a0abc75-a28d-f4a7-0d04-63f31afbde04%40gmail.com.
For more options, visit https://groups.google.com/d/optout.