Answer the question
In order to leave comments, you need to log in
How to get values from existing db table?
Good evening, tell me how to correctly describe an existing table in models, I connected to the database itself, there is a service_courses table, it has 4 columns id, usd, euro, gbr
Answer the question
In order to leave comments, you need to log in
https://docs.djangoproject.com/en/1.7/howto/legacy...
python manage.py inspectdb > models.py
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question