This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.conf import settings | |
| from django.db.models import get_models | |
| from django.utils.importlib import import_module | |
| from django.utils.module_loading import module_has_submodule | |
| from django.contrib.admin.sites import AlreadyRegistered | |
| from django.contrib import admin | |
| def autodiscover(): | |
| for app in settings.INSTALLED_APPS: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "python.linting.pylintEnabled": false, | |
| "python.linting.flake8Enabled": true, | |
| "python.linting.enabled": true, | |
| "python.formatting.provider": "black", | |
| "python.formatting.blackArgs": [ | |
| "--line-length", | |
| "88" | |
| ], | |
| "editor.formatOnSave": true, |