from django.conf.urls import patterns, include
from django.contrib import admin

from oscar.app import shop

from accounts.dashboard.app import application as accounts_app
from accounts.api.app import application as api_app

admin.autodiscover()

urlpatterns = patterns('',
    (r'^dashboard/accounts/', include(accounts_app.urls)),
    (r'^api/', include(api_app.urls)),
    (r'', include(shop.urls)),
)

from django.conf.urls import patterns, include
from django.contrib import admin

from oscar.app import application

from accounts.dashboard.app import application as accounts_app
from accounts.api.app import application as api_app

admin.autodiscover()

urlpatterns = patterns('',
    (r'^dashboard/accounts/', include(accounts_app.urls)),
    (r'^api/', include(api_app.urls)),
    (r'', include(application.urls)),
)

Fix import statement in `tests.urls`