我下载了django-oscar,我试图在应用程序中运行demo。当我尝试运行演示时,我得到错误为“无法导入配置文件模型”。此演示中的Urls.py文件为
from apps.app import application
from datacash.dashboard.app import application as datacash_app
from oscar.views import handler500, handler404, handler403
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
# Stores extension
(r'^stores/', include(stores_app.urls)),
(r'^dashboard/stores/', include(dashboard_app.urls)),
# PayPal extension
(r'^checkout/paypal/', include('paypal.express.urls')),
# Datacash extension
(r'^dashboard/datacash/', include(datacash_app.urls)),
(r'', include(application.urls)),
)
请建议我纠正这个问题的一些想法。提前谢谢。