Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1615928
urls.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Mar 22, 5:22 AM
Size
481 B
Mime Type
text/x-python
Expires
Tue, Mar 24, 5:22 AM (31 m, 44 s)
Engine
blob
Format
Raw Data
Handle
354645
Attached To
rDJANGONOCAPTCHA django-nocaptcha-recaptcha
urls.py
View Options
from
django.contrib
import
admin
from
django.conf.urls
import
include
,
url
from
django.views.generic
import
TemplateView
from
.
import
views
admin
.
autodiscover
()
urlpatterns
=
[
url
(
r'^$'
,
views
.
DemoView
.
as_view
(
template_name
=
"index.html"
),
{},
name
=
"index"
),
url
(
r'^success/$'
,
TemplateView
.
as_view
(
template_name
=
"success.html"
),
{},
name
=
"success"
),
# Uncomment the next line to enable the admin:
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
]
Event Timeline
Log In to Comment