Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some stuff

  • Loading branch information...
commit f2087f9f3d6ccecd2fb996056ffd457f53d12aa4 1 parent 3b2abab
Holden Karau authored
2  frontend/unicorn/unicorn/urls.py
View
@@ -13,5 +13,5 @@
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
- url(r'^/', include('unicorn.verify.urls')),
+ url(r'^$', 'verify.views.index'),
)
7 frontend/unicorn/verify/views.py
View
@@ -1 +1,8 @@
# Create your views here.
+from django.http import HttpResponse
+from django.template import Context, loader
+
+def index(request):
+ t = loader.get_template("index.html")
+ c = Context()
+ return HttpResponse(t.render(c))
Please sign in to comment.
Something went wrong with that request. Please try again.