Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to initialize the data of the newly built database by Django-oscar

Shulou Source: shulou.com Published: 2022-06-01 16:15:34 10月02日 Update

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.

Tags: Data database content skills knowledge concise concise country foundation that is articles more users administrators articles industry information information channels channels one bright Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information Apple MySQL OPPO Reno