Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20
Commits
f0089d0b
Commit
f0089d0b
authored
4 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused django.template.loader.render_to_string import
parent
5e75a56e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!104
Beta
,
!98
Morefront
,
!91
Documents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/treasury/views.py
+0
-2
0 additions, 2 deletions
apps/treasury/views.py
with
0 additions
and
2 deletions
apps/treasury/views.py
+
0
−
2
View file @
f0089d0b
...
@@ -13,7 +13,6 @@ from django.db.models import Q
...
@@ -13,7 +13,6 @@ from django.db.models import Q
from
django.forms
import
Form
from
django.forms
import
Form
from
django.http
import
HttpResponse
from
django.http
import
HttpResponse
from
django.shortcuts
import
redirect
from
django.shortcuts
import
redirect
from
django.template.loader
import
render_to_string
from
django.urls
import
reverse_lazy
from
django.urls
import
reverse_lazy
from
django.utils.translation
import
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
from
django.views.generic
import
CreateView
,
UpdateView
,
DetailView
from
django.views.generic
import
CreateView
,
UpdateView
,
DetailView
...
@@ -110,7 +109,6 @@ class InvoiceUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
...
@@ -110,7 +109,6 @@ class InvoiceUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
for
field_name
in
f
.
fields
:
for
field_name
in
f
.
fields
:
f
.
fields
[
field_name
].
disabled
=
True
f
.
fields
[
field_name
].
disabled
=
True
return
context
return
context
def
form_valid
(
self
,
form
):
def
form_valid
(
self
,
form
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment