Update the isort config for version 5.*

This commit is contained in:
Martin Pépin 2020-07-04 13:30:54 +02:00
parent c7ca96bce5
commit e9f00b4f06
No known key found for this signature in database
GPG key ID: E7520278B1774448
9 changed files with 14 additions and 13 deletions

View file

@ -2,12 +2,12 @@
Django development settings for the cof project.
The settings that are not listed here are imported from .common
"""
import os
from .common import * # NOQA
from .common import BASE_DIR, INSTALLED_APPS
from .common import * # NOQA
# ---
# BDS-only Django settings
# ---

View file

@ -2,10 +2,8 @@
Django development settings for the cof project.
The settings that are not listed here are imported from .common
"""
import os
from .common import * # NOQA
from .common import (
AUTHENTICATION_BACKENDS,
BASE_DIR,
@ -15,6 +13,8 @@ from .common import (
import_secret,
)
from .common import * # NOQA
# ---
# COF-specific secrets
# ---

View file

@ -1,11 +1,11 @@
"""Django local development settings."""
import os
from . import bds_prod
from .cof_prod import * # NOQA
from .cof_prod import BASE_DIR, INSTALLED_APPS, MIDDLEWARE, TESTING
from .cof_prod import * # NOQA
# ---
# Merge COF and BDS configs
# ---

View file

@ -1,7 +1,6 @@
"""
Fichier principal de configuration des urls du projet GestioCOF
"""
from django.conf import settings
from django.conf.urls.i18n import i18n_patterns
from django.conf.urls.static import static
@ -20,6 +19,10 @@ urlpatterns = [
]
if "gestioncof" in settings.INSTALLED_APPS:
from django_js_reverse.views import urls_js
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls
from gestioncof import csv_views, views as gestioncof_views
from gestioncof.autocomplete import autocomplete
from gestioncof.urls import (
@ -29,9 +32,6 @@ if "gestioncof" in settings.INSTALLED_APPS:
export_patterns,
surveys_patterns,
)
from django_js_reverse.views import urls_js
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.documents import urls as wagtaildocs_urls
# Also includes BdA, K-Fêt, etc.
urlpatterns += [