我正在为项目使用Django-oscar。完成Django-oscar配置后,我可以看到localhost:8000为空,相反,我想重定向到localhost:8000 /目录页面
urls.py
urlpatterns = [
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^admin/', admin.site.urls),
url(r'', application.urls),
]
我预期的输出是。当我运行localhost:8000
时,应该转到localhost:8000/catalogue