-
-
Save saidimu/1644328 to your computer and use it in GitHub Desktop.
Catching shop/cart/ URL for overriding django-shop's view class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf.urls.defaults import * | |
from django.contrib import admin | |
from shop import urls as shop_urls | |
from shop_simplevariations import urls as simplevariations_urls | |
admin.autodiscover() | |
urlpatterns = patterns('', | |
(r'^admin/', include(admin.site.urls)), | |
(r'^shop/cart/', include(simplevariations_urls)), | |
(r'^shop/', include(shop_urls)), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment