Skip to content

Instantly share code, notes, and snippets.

@renzon
Created June 9, 2017 19:47
Show Gist options
  • Save renzon/347543f40c5fc917174f006773123259 to your computer and use it in GitHub Desktop.
Save renzon/347543f40c5fc917174f006773123259 to your computer and use it in GitHub Desktop.
from django.conf.urls import url
from eventex.subscriptions.views import new, detail
urlpatterns = [
url(r'ˆ$', new, name='new'),
url(r'ˆ(\d+)/$', detail, name='detail'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment