urls.py 314 B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.conf.urls import url, include
  4. from django.contrib import admin
  5. from api.urls import v1_api
  6. from ui.views import index
  7. urlpatterns = [
  8. url(r'^admin/', admin.site.urls),
  9. url(r'^api/', include(v1_api.urls)),
  10. url(r'^', index)
  11. ]