How to initialize the data of the newly built database by Django-oscar
This article shows you how Django-oscar initializes the data of the new database. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
For the newly created django-oscar database, initialize the underlying data
$python manage.py migrate
Initialize national data
$pip install pycountry [...] $python manage.py oscar_populate_countries
Create a Super Admin user
Python manage.py createsuperuser the above is how Django-oscar initializes the data of the new database. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.