Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
75442927
authored
Oct 14, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: clean up template view
parent
4a2c9055
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
circle/dashboard/views/template.py
+2
-1
No files found.
circle/dashboard/views/template.py
View file @
75442927
...
@@ -32,7 +32,7 @@ from django.views.generic import (
...
@@ -32,7 +32,7 @@ from django.views.generic import (
)
)
from
braces.views
import
(
from
braces.views
import
(
LoginRequiredMixin
,
PermissionRequiredMixin
,
SuperuserRequiredMixin
,
LoginRequiredMixin
,
PermissionRequiredMixin
,
)
)
from
django_tables2
import
SingleTableView
from
django_tables2
import
SingleTableView
...
@@ -431,6 +431,7 @@ class LeaseDetail(LoginRequiredMixin, SuccessMessageMixin, UpdateView):
...
@@ -431,6 +431,7 @@ class LeaseDetail(LoginRequiredMixin, SuccessMessageMixin, UpdateView):
return
super
(
LeaseDetail
,
self
)
.
post
(
request
,
*
args
,
**
kwargs
)
return
super
(
LeaseDetail
,
self
)
.
post
(
request
,
*
args
,
**
kwargs
)
class
LeaseDelete
(
LoginRequiredMixin
,
DeleteView
):
class
LeaseDelete
(
LoginRequiredMixin
,
DeleteView
):
model
=
Lease
model
=
Lease
...
...
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