A
A
Alexey Polyakov2017-05-08 16:27:37
Django
Alexey Polyakov, 2017-05-08 16:27:37

What is the best way to populate a django database?

Good afternoon,
I'm getting ready for the first application on django rest and it's time to start defining by patterns. Please advise:
1) There is a python script, a parser that collects a healthy list. Next, I want to load this list into the django database. Question: does it make sense to separate django and parser scripts or is it normal practice to run all applications on a server? Where can I look at the proven methods of initial filling and regular updating of the database in janga? If the script is run separately, does it make sense to do it through a file so that Django picks up the data and updates it, or directly load it into the database with a script (here from the point of view of multiple access - I don’t know how this is solved yet)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-05-08
@sim3x

https://docs.djangoproject.com/en/1.11/howto/custo...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question