我下载了 django-oscar 并尝试在应用程序中运行演示。当我尝试运行演示时,我收到错误为“无法导入配置文件模型”。此演示中的 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)),
)
请建议我一些想法来纠正这个问题。提前致谢。