from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from oscar.app import application
from oscar.app import shop
from paypal.express.dashboard.app import application
# Uncomment the next two lines to enable the admin:
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'', include(application.urls)),
url(r'^checkout/paypal/', include('paypal.express.urls')),
url(r'^dashboard/paypal/express/', include(application.urls)),
url(r'', include(shop.urls)),
url('^pages/', include('django.contrib.flatpages.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('',
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
'document_root': settings.MEDIA_ROOT,
}),
)
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/525522A5.6000007%40tangentsnowball.com.
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
--- You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/621a6909-5855-4d14-bec6-0f143c290e98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.