cheatsheets :)
This commit is contained in:
parent
b3e92c3039
commit
4030f89ada
4 changed files with 1021 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
from django.conf.urls import url
|
||||
from event.views import Index
|
||||
from event.views import Example, ExampleForm
|
||||
|
||||
app_name = 'event'
|
||||
urlpatterns = [
|
||||
url(r'^$', Index.as_view(), name='index'),
|
||||
url(r'^$', Example.as_view(), name='index'),
|
||||
url(r'^form/$', ExampleForm.as_view(), name='index.form'),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue