# # # Django+xadmin to install simple records under Win7-64bit
1. Download Python:https://www.python.org/ftp/python/2.7.12/python-2.7.12.amd64.msi
Install Python-2.7.12.amd64.msi # Note Select the installation path, here is: D:\ProgramFiles\Python27
2, configure the environment variable path: #, advanced system settings, high-level, computer, and so on, modify path, add:
d:\programfiles\python27;d:\programfiles\python27\scripts;
3. Download Xadmin:https://github.com/sshwsfc/xadmin
Unzip Xadmin-master.zip to D:\ProgramFiles\Python27\xadmin # I placed it under the Python installation path
4, Installation Django+xadmin:
>pip Install-r requirements.txt D:\ProgramFiles\Python27\xadmin\requirements.txt
5. Configure environment variables in path:
D:\ProgramFiles\Python27\Lib\site-packages\django
6. Test version:
D:\programfiles\python27\scripts>python
>>> Import Django
>>> django.get_version ()
' 1.9.10 '
>>> quit ()
7. Test page
>CD D:\ProgramFiles\Python27\xadmin\demo_app
>python manage.py runserver 0.0.0.0:8000 # Displays the following information:
D:\programfiles\python27\xadmin\demo_app>python manage.py Runserver 0.0.0.0:8000
Performing system checks ...
System Check identified no issues (0 silenced).
You have unapplied migrations; Your app properly until they is app
Lied.
Run ' python manage.py migrate ' to apply them.
October 31, 2016-14:50:16
Django version 1.9.10, using Settings ' demo.settings '
Starting development Server at Http://0.0.0.0:8000/
Quit the server with Ctrl-break.
# # # Browser access:: http://IP:8000 # Display page indicates successful installation
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/89/C6/wKioL1gcMn6Dp-erAAAztG0jmi4874.png-wh_500x0-wm_3 -wmp_4-s_868052758.png "title=" Xadmin1.png "alt=" Wkiol1gcmn6dp-eraaaztg0jmi4874.png-wh_50 "/>
8. Import data
D:\programfiles\python27\xadmin\demo_app>python manage.py Migrate
D:\programfiles\python27\xadmin\demo_app>python manage.py Createsuperuser
D:\programfiles\python27\xadmin\demo_app>python manage.py Runserver 0.0.0.0:8000
# # # Browser access:: http://IP:8000
# # # Use the Set account password Admin\admin login into the system
This article from the "Old Wafangdian" blog, reproduced please contact the author!
Django+xadmin installation record under Win7-64bit