B
B
Bjornie2017-03-12 17:41:08
MySQL
Bjornie, 2017-03-12 17:41:08

How do I link my custom database (MySQL) to Django?

I have a ready-made database (MySQL), which I formed separately (after parsing), and which I want to attach to Django, which should fully work with it (DB) in due time. I am new to Django, and so far I have only mastered how database migrations are initially created, on the basis of which new data is already entered into tables.
And how to do it back? If the structure is already there, and I only need to create models? Write them, taking into account all the features of the finished base and go ahead? How to do everything as environmentally friendly as possible?
Thanks for the advice!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-03-12
@Bjornie

The documentation has a section dedicated to this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question