Commit adf22cb1 by Őry Máté

circle: add simple login form

parent e6736688
......@@ -2,6 +2,8 @@ from django.conf.urls import patterns, include, url
# from django.views.generic import TemplateView
from django.contrib import admin
from django.contrib.auth.views import login
admin.autodiscover()
urlpatterns = patterns(
......@@ -17,5 +19,6 @@ urlpatterns = patterns(
url(r'^admin/', include(admin.site.urls)),
url(r'^network/', include('network.urls')),
url(r'^dashboard/', include('dashboard.urls')),
url(r'^login/', login),
url(r'^vm-api/', include('vm.urls')),
)
{% extends "base.html" %}
{% load i18n %}
{% load staticfiles %}
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
<form action="/ufo/" method="POST">
{% csrf_token %}
{{ form }}
<input type="submit" value="LOGIN" />
</form>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment