startapp
django-admin startapp appname
create Model
python manage.py migrate # 这条命令非常重要
python manage.py makemigrations appname
python manage.py migrate appname
xadmin
# create adminx.py
# config urls.py
from django.conf.urls import url
from django.contrib import admin
import xadmin
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^xadmin/', xadmin.site.urls)
]