django-dynamic-models
django-dynamic-models copied to clipboard
Dynamic Django models allow users to define, edit, and populate their own database schema.
Does this support all the model field available in django itself?
### Steps to Reproduce ``` model_schema = ModelSchema.objects.create(name="SimpleModel") related_model_schema = ModelSchema.objects.create(name="RelatedModel") FieldSchema.objects.create( name="related", model_schema=model_schema, class_name="django.db.models.ForeignKey", kwargs={ "to": another_model_schema.model_name, "on_delete": models.CASCADE, "related_name": "parent_objects", }, ) model = model_schema.as_model() related_model = related_model_schema.as_model()...
Follow up from #55 A check similar to vanilla Django should be performed to validate the table name constraints of the database platform. [Source](https://github.com/django/django/blob/main/django/db/models/options.py#L228-L232) cc @mattiagiupponi

Thoughts on supporting Foreign Key field and many to many fields?
Hi. Python 3.8.x django 2.2.x django_dynamic_models 0.3.0 I set settings.CACHE to use memcached. If the memcached service is offline for any reason, simplest things like creating e FieldSchema fail. As...
It would be nice if user could specify the `db_column` option for FieldSchema. I need uppercase field names and as workaround I have to monkey patch the `get_options` method to...
Hello @rvinzent, I've been trying to work with your module but every time I migrate I get greeted with a wall of errors and a keyerror, I've tried all kinds...
hey! Cannot we use the AbstractModelSchema anymore? I looked into your codes and commits, also wiki but I did not solve my problem. I cannot extend the base model with...
Started using `poetry` at work and it's great. I'd like to use it for dependency management here too.