Environment Setup: to use Xadmin tool, the DJango and Mysql special version are required. 1.1 make sure using mysql 5.7, not the latest version, download 5.7 from the following web site. https://dev.mysql.com/downloads/file/?id=492745 1.2 to use Django 2.29 version $ pip3 list # check what's the package installed. $ pip3 uninstall Django # uninstall current django version $ pip3 install "django>=2.2, <3" # install the version could be used by Xadmin 1.3 install the mysql client driver to connect with mysql 5.7 $ pip3 install mysqlclient 1.4. create a new database, 'mkonline' in Mysql with chinese enabled. Character Set: utf8 Collation: utf8_general_ci To record the root and password: 1.5 in prject basic setting to setup the connection between Pycharm/Django project setting.py in order to make the connection between Django and Mysql database. 1.6 to build the orginal database tables for the django projet. a)manage.py@Mkonline> makemigration b)manage.py@Mkonline> migrate c)check the first database tables generated by django in Mkonline database to make sure it's created correctly. 1.7 Creating an admin user $ python manage.py createsuperuser Username: admin Email address: [email protected] Password:Autoneum@123 1.8 Check the orginal admin website is working well with Superuser created in 1.7 http://127.0.0.1:8000/admin/
mkonline's Introduction
mkonline's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.