Code cleaning

This commit is contained in:
Ales (Shagi) Zabala Alava 2021-05-12 16:14:40 +02:00
parent 7155342ed2
commit 55982b83bf
3 changed files with 3 additions and 10 deletions

View File

@ -1,6 +1,5 @@
from django.apps import AppConfig from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from django.db.models.signals import post_migrate
class GASConfig(AppConfig): class GASConfig(AppConfig):

View File

@ -1,9 +1,6 @@
from collections import namedtuple
from django.urls import include, re_path from django.urls import include, re_path
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
from django.utils.module_loading import autodiscover_modules from django.utils.module_loading import autodiscover_modules
from django.utils.translation import gettext_lazy as _
class Entry: class Entry:

View File

@ -1,11 +1,10 @@
import datetime
import json import json
from django.contrib import messages from django.contrib import messages
from django.contrib.admin.utils import NestedObjects from django.contrib.admin.utils import NestedObjects
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
from django.db import router from django.db import router
from django.http import HttpResponse, HttpResponseRedirect, HttpResponseBadRequest, HttpResponseNotAllowed from django.http import HttpResponse, HttpResponseRedirect, HttpResponseBadRequest
from django.urls import reverse from django.urls import reverse
from django.utils.encoding import force_text from django.utils.encoding import force_text
from django.utils.html import escape, escapejs from django.utils.html import escape, escapejs
@ -13,9 +12,7 @@ from django.utils.text import capfirst
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
from django.views.generic import ListView, CreateView, UpdateView, DeleteView from django.views.generic import ListView, CreateView, UpdateView, DeleteView
from . import forms
from . import gas_settings from . import gas_settings
from .sites import site
class AjaxCommandsMixin: class AjaxCommandsMixin: