You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
419 B

10 years ago
10 years ago
10 years ago
  1. from django.conf import settings
  2. from django.conf.urls import include, url
  3. from django.contrib import admin
  4. urlpatterns = [
  5. url(r'^admin/', include(admin.site.urls)),
  6. url(r'^accounts/', include('hc.accounts.urls')),
  7. url(r'^', include('hc.api.urls')),
  8. url(r'^', include('hc.front.urls')),
  9. ]
  10. if settings.USE_PAYMENTS:
  11. urlpatterns.append(url(r'^', include('hc.payments.urls')))