tmpbook / django-with-vuejs

Fast and clear in DevOps.
MIT License
423 stars 108 forks source link

backend #17

Open wsndbd opened 5 years ago

wsndbd commented 5 years ago

提示:No module named urls 查看堆栈 url(r'^api/', include('backend.urls', namespace='api')) 请问这个怎么处理

zhangdavids commented 5 years ago

seems

# file: backend/urls.py
from django.conf.urls import url, include

urlpatterns = [
    url(r'^', include('api.urls', namespace='api', app_name='api')),
]