urls.py 442 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.conf.urls import patterns, url
  4. from coin.offers.views import ConfigurationRedirectView, subscription_count_json
  5. urlpatterns = patterns(
  6. '',
  7. # Redirect to the appropriate configuration backend.
  8. url(r'^configuration/(?P<id>.+)$', ConfigurationRedirectView.as_view(), name="configuration-redirect"),
  9. url(r'^api/v1/count$', subscription_count_json),
  10. )