Skip to content

Instantly share code, notes, and snippets.

@mekhami
Created October 17, 2015 00:21
Show Gist options
  • Select an option

  • Save mekhami/dce9e8c20e51c3f47709 to your computer and use it in GitHub Desktop.

Select an option

Save mekhami/dce9e8c20e51c3f47709 to your computer and use it in GitHub Desktop.
from django.conf.urls import include, url
from .views import IndexView, ThanksView, ConfirmView
urlpatterns = [
url(r'^$', IndexView.as_view(), name='index'),
url(r'^confirm/$', ConfirmView.as_view(), name='confirm'),
url(r'^thanks/$', ThanksView.as_view(), name='thanks'),
]
from django.conf.urls import include, url, patterns
from django.contrib import admin
from django.conf import settings
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^rsvp/', include('rsvp.urls', namespace='rsvp')),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment