mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 20:50:17 +03:00
Modifying to ruff rules
This commit is contained in:
parent
9e243001f0
commit
5d35f50f79
|
@ -2,13 +2,12 @@
|
||||||
"""Base settings to build other settings files upon."""
|
"""Base settings to build other settings files upon."""
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import environ
|
|
||||||
|
|
||||||
{% if cookiecutter.use_celery == 'y' %}
|
{% if cookiecutter.use_celery == 'y' %}
|
||||||
import ssl
|
import ssl
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
import environ
|
||||||
|
|
||||||
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
|
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
|
||||||
# {{ cookiecutter.project_slug }}/
|
# {{ cookiecutter.project_slug }}/
|
||||||
APPS_DIR = BASE_DIR / "{{ cookiecutter.project_slug }}"
|
APPS_DIR = BASE_DIR / "{{ cookiecutter.project_slug }}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user