Well problem with Django is that there is not really support for "dynamic models".
Django expects that _before_ calling ready() all models are
registered and ready for use.
Also note that ready() maybe called multiple times. You should
take into account that for example when running unit tests Django
changes database connection, which may affect your model
construction.
--
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...@googlegroups.com.
To post to this group, send email to django...@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/492d62ac-5dd4-4553-a4e9-66798f51a131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Jani Tiainen