8 lines
236 B
Python
8 lines
236 B
Python
from django.conf.urls import url
|
|
from event.views import Example, ExampleForm
|
|
|
|
app_name = 'event'
|
|
urlpatterns = [
|
|
url(r'^$', Example.as_view(), name='index'),
|
|
url(r'^form/$', ExampleForm.as_view(), name='index.form'),
|
|
]
|