From a1cd3d4609e834061430410de2fddbca98c9c373 Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Sun, 28 Jun 2020 17:36:20 +0000 Subject: [PATCH] Code cleanup --- .../migrations/0007_service_ignore_robots.py | 6 +++--- shynet/shynet/settings.py | 16 ++++++++-------- shynet/shynet/urls.py | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/shynet/core/migrations/0007_service_ignore_robots.py b/shynet/core/migrations/0007_service_ignore_robots.py index 88db498..d63ba06 100644 --- a/shynet/core/migrations/0007_service_ignore_robots.py +++ b/shynet/core/migrations/0007_service_ignore_robots.py @@ -6,13 +6,13 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('core', '0006_service_hide_referrer_regex'), + ("core", "0006_service_hide_referrer_regex"), ] operations = [ migrations.AddField( - model_name='service', - name='ignore_robots', + model_name="service", + name="ignore_robots", field=models.BooleanField(default=False), ) ] diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 33c457b..3d670ea 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -286,14 +286,14 @@ else: NPM_ROOT_PATH = "../" NPM_FILE_PATTERNS = { - 'a17t': ['dist/a17t.css'], - '@fortawesome/fontawesome-free': ['js/all.min.js'], - 'tailwindcss': ['dist/tailwind.min.css'], - 'apexcharts': ['dist/apexcharts.min.js'], - 'litepicker': ['dist/js/main.js'], - 'turbolinks': ['dist/turbolinks.js'], - 'stimulus': ['dist/stimulus.umd.js'], - 'inter-ui': ['Inter (web)/*'], + "a17t": ["dist/a17t.css"], + "@fortawesome/fontawesome-free": ["js/all.min.js"], + "tailwindcss": ["dist/tailwind.min.css"], + "apexcharts": ["dist/apexcharts.min.js"], + "litepicker": ["dist/js/main.js"], + "turbolinks": ["dist/turbolinks.js"], + "stimulus": ["dist/stimulus.umd.js"], + "inter-ui": ["Inter (web)/*"], } # Shynet diff --git a/shynet/shynet/urls.py b/shynet/shynet/urls.py index e84a4fe..efd1d68 100644 --- a/shynet/shynet/urls.py +++ b/shynet/shynet/urls.py @@ -21,6 +21,6 @@ urlpatterns = [ path("accounts/", include("allauth.urls")), path("ingress/", include(("analytics.ingress_urls", "ingress")), name="ingress"), path("dashboard/", include(("dashboard.urls", "dashboard"), namespace="dashboard")), - path("healthz/", include('health_check.urls')), + path("healthz/", include("health_check.urls")), path("", include(("core.urls", "core"), namespace="core")), ]