Django-oscar演示错误无法导入配置文件模型

时间:2013-12-20 13:14:23

标签: python django django-oscar

我下载了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)),
)

请建议我纠正这个问题的一些想法。提前谢谢。

0 个答案:

没有答案