Hi, there's nothing in the Django documentation about dynamic models, so 
there's no official support for it. I'm not aware of any recent discussions 
about it but searching this mailing list's archives for "dynamic models" or 
searching Google for "django dynamic models" might yield something useful.

On Tuesday, September 5, 2017 at 10:46:34 AM UTC-4, Roman Akopov wrote:
>
> Hi,
>
> I need a comment by Django developer, because I feel like things I am 
> asking about are too complex for users mailing list. Start of discussion is 
> here.
>
> https://groups.google.com/forum/#!topic/django-users/_u83xxJOIFU 
>
> *TL/DR*
>
> Is it impossible to get reverse relation to dynamically added model? I 
> mean because Option._relation_tree is calculated just once and there is no 
> way (even undocumented internal API) to reset it after dynamic model with 
> ForeignKey was created, there is no way to add reverse relation field to 
> existing model, so _meta._get_fields() of preexisting model does not 
> include relation to newly added dynamic model.
>
> So, am I right, in particular, and what is level of support for dynamic 
> models? Is it above "use at your own risk"?
>
> Roman
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ea263ec6-5087-4698-8b48-e51f8977ee7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to