Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.869 kb
# django imports
from django.conf import settings
from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.contrib import admin
admin.autodiscover()
handler500 = 'lfs.core.views.server_error'
urlpatterns = patterns("",
(r'', include('lfs.core.urls')),
(r'^manage/', include('lfs.manage.urls')),
)
urlpatterns += patterns("",
(r'^reviews/', include('reviews.urls')),
(r'^paypal/ipn/', include('paypal.standard.ipn.urls')),
(r'^paypal/pdt/', include('paypal.standard.pdt.urls')),
)
urlpatterns += patterns("",
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(admin.site.urls)),
)
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Jump to Line
Something went wrong with that request. Please try again.