Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
adf22cb1
authored
Nov 11, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circle: add simple login form
parent
e6736688
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
circle/circle/urls.py
+3
-0
circle/templates/registration/login.html
+11
-0
No files found.
circle/circle/urls.py
View file @
adf22cb1
...
@@ -2,6 +2,8 @@ from django.conf.urls import patterns, include, url
...
@@ -2,6 +2,8 @@ from django.conf.urls import patterns, include, url
# from django.views.generic import TemplateView
# from django.views.generic import TemplateView
from
django.contrib
import
admin
from
django.contrib
import
admin
from
django.contrib.auth.views
import
login
admin
.
autodiscover
()
admin
.
autodiscover
()
urlpatterns
=
patterns
(
urlpatterns
=
patterns
(
...
@@ -17,5 +19,6 @@ urlpatterns = patterns(
...
@@ -17,5 +19,6 @@ urlpatterns = patterns(
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
url
(
r'^network/'
,
include
(
'network.urls'
)),
url
(
r'^network/'
,
include
(
'network.urls'
)),
url
(
r'^dashboard/'
,
include
(
'dashboard.urls'
)),
url
(
r'^dashboard/'
,
include
(
'dashboard.urls'
)),
url
(
r'^login/'
,
login
),
url
(
r'^vm-api/'
,
include
(
'vm.urls'
)),
url
(
r'^vm-api/'
,
include
(
'vm.urls'
)),
)
)
circle/templates/registration/login.html
0 → 100644
View file @
adf22cb1
{% 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 %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment