question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

django.db.utils.OperationalError: no such table: dynamic_models_modelfieldschema

See original GitHub issue

Hi, I have installed django-dynamic-models and I’m following the documentation.

When I create a new object with the command : car_schema = ModelSchema.objects.create(name='car')

The command return an error :

no such table: dynamic_models_modelfieldschema

Have you ever encountered this error ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
evangetrixxcommented, Apr 26, 2020

@yvsssantosh thanks a loooot, I was looking for this problem for a long time and then I found you

1reaction
yvsssantoshcommented, Aug 19, 2019

Hi, I get the same error as well, the thing is, when you perform makemigrations make sure that you got a migration for django-dynamic-models. If it showed No Changes Detected then try the command

python manage.py makemigrations dynamic_models
Read more comments on GitHub >

github_iconTop Results From Across the Web

Django: OperationalError No Such Table - python
I've run python manage.py syncdb (added result to post). I was under the impression, however that using south via migrate eliminated the need...
Read more >
django.db.utils.OperationalError: no such table: webapp_cart
django.db.utils.OperationalError: no such table: webapp_cart i got this error, webapp_cart is a model i made. But later i realise that i ...
Read more >
django-dynamic-model 0.1.0 - PyPI
Dynamic Django models allow users to define, edit, and populate their own database tables and apply runtime schema changes to the database.
Read more >
Why am I getting "django.db.utils.OperationalError: no such table
from django.db import models class Performer(models.Model): name = models.CharField(max_length=255) def __str__(self): return self.name ...
Read more >
django.db.utils.OperationalError: no such table abc
The table tableStatus exists in my models.py. Any ideas what I can do to fix this problem?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found