from django.conf import settings
from django.contrib import admin
from django.conf.urls.static import static
from django.conf.urls import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

from oscar.app import shop
from stores.app import application as stores_app
from stores.dashboard.app import application as dashboard_app

admin.autodiscover()

urlpatterns = patterns('',
    url(r'', include(shop.urls)),
    url(r'^dashboard/stores/', include(dashboard_app.urls)),
    url(r'^stores/', include(stores_app.urls)),
    url(r'^admin/', include(admin.site.urls)),
)


if settings.DEBUG:
    urlpatterns += staticfiles_urlpatterns()
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)


@@ -415,42 +415,8 @@
 '',%0A
-    url(r'', include(shop.urls)),%0A
     
@@ -512,32 +512,67 @@
 res_app.urls)),%0A
+    url(r'%5E', include(shop.urls)),%0A
     url(r'%5Eadmin

Switch order of store URLs