django-dynamic-models icon indicating copy to clipboard operation
django-dynamic-models copied to clipboard

Dynamic Django models allow users to define, edit, and populate their own database schema.

Results 21 django-dynamic-models issues
Sort by recently updated
recently updated
newest added

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()...

bug

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

improvement

![Screenshot from 2022-03-12 21-19-56](https://user-images.githubusercontent.com/28560875/158024536-bf67bd9b-fed0-444c-94d9-44cee2072ca5.png)

Thoughts on supporting Foreign Key field and many to many fields?

feature
help wanted

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...

question

Started using `poetry` at work and it's great. I'd like to use it for dependency management here too.

improvement