Comments (3)
so for me it works, when I do this :
python manage.py migrate
python manage.py makemigrations todolist
python manage.py migrate todolist
python -m webbrowser -t "http://127.0.0.1:7000/"
python manage.py runserver 7000
from python-fun.
You just need to create your tables...
from python-fun.
That error is usually caused by a missing database migration after creating a new model.
Simply running the following commands fixes it most of the time:
python3 manage.py makemigrations
python3 manage.py migrate
Now you can restart your server.
from python-fun.
Related Issues (9)
- found 0 images HOT 5
- RuntimeError: Working outside of application context HOT 1
- Html files not rendering HOT 1
- Bad Error Handling
- I want to contribute some of my projects to this repo. Are you accepting new projects? HOT 1
- bro can u help me i wrote this code in vs code but when i run app.py in python-fun ,chatbot-gui it runs only in terminal and the gui window doesnt appear i have properly installed tkinter still it runs in terminal only
- Snake.py HOT 2
- ERROR: Exception in ASGI application for webapps -> fastapi -> uvicorn HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-fun.