Skip to content
Snippets Groups Projects
Commit f0089d0b authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Remove unused django.template.loader.render_to_string import

parent 5e75a56e
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!91Documents
......@@ -13,7 +13,6 @@ from django.db.models import Q
from django.forms import Form
from django.http import HttpResponse
from django.shortcuts import redirect
from django.template.loader import render_to_string
from django.urls import reverse_lazy
from django.utils.translation import gettext_lazy as _
from django.views.generic import CreateView, UpdateView, DetailView
......@@ -110,7 +109,6 @@ class InvoiceUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
for field_name in f.fields:
f.fields[field_name].disabled = True
return context
def form_valid(self, form):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment