From 3fb1e079b9a4bcb90094c9f568ba5db904606f40 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 5 Jul 2019 16:35:43 -0400 Subject: [PATCH] Code cleanups Signed-off-by: Roberto Rosario --- .../apps/file_metadata/migrations/0002_documenttypesettings.py | 3 +-- mayan/apps/linking/apps.py | 2 +- mayan/apps/smart_settings/templatetags/smart_settings_tags.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mayan/apps/file_metadata/migrations/0002_documenttypesettings.py b/mayan/apps/file_metadata/migrations/0002_documenttypesettings.py index fd0918c330..9fec8574e5 100644 --- a/mayan/apps/file_metadata/migrations/0002_documenttypesettings.py +++ b/mayan/apps/file_metadata/migrations/0002_documenttypesettings.py @@ -1,7 +1,6 @@ from __future__ import unicode_literals -from django.db import migrations, models -import django.db.models.deletion +from django.db import migrations def operation_create_file_metadata_setting_for_existing_document_types(apps, schema_editor): diff --git a/mayan/apps/linking/apps.py b/mayan/apps/linking/apps.py index 426a4eccaa..74acba3add 100644 --- a/mayan/apps/linking/apps.py +++ b/mayan/apps/linking/apps.py @@ -17,7 +17,7 @@ from mayan.apps.events.links import ( ) from mayan.apps.navigation.classes import SourceColumn -from .events import event_smart_link_created, event_smart_link_edited +from .events import event_smart_link_edited from .links import ( link_document_type_smart_links, link_smart_link_create, link_smart_link_condition_create, link_smart_link_condition_delete, diff --git a/mayan/apps/smart_settings/templatetags/smart_settings_tags.py b/mayan/apps/smart_settings/templatetags/smart_settings_tags.py index 6ef94c12f3..3e64f3190d 100644 --- a/mayan/apps/smart_settings/templatetags/smart_settings_tags.py +++ b/mayan/apps/smart_settings/templatetags/smart_settings_tags.py @@ -15,4 +15,3 @@ def smart_setting(global_name): @register.simple_tag def smart_settings_check_changed(): return Setting.check_changed() -