**项目urls配置**
~~~
from django.conf.urls import url, include #include使用引入views
from django.contrib import admin
import xadmin
urlpatterns = [
#url(r'^admin/', admin.site.urls),
url(r'^xadmin/', xadmin.site.urls),
url(r'^blog/', include('blog.urls', namespace='blog')),
]
~~~