Skip to content

Commit

Permalink
Fix ruff and coverage CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarudze committed Jun 17, 2024
1 parent dba9466 commit b8719b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
BASE_DIR = Path(__file__).resolve().parent.parent


# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get("DJANGO_DEBUG")

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get("DJANGO_SECRET", "")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get("DJANGO_DEBUG")
SECRET_KEY = "djangocon" if DEBUG else os.environ.get("DJANGO_SECRET", "")

ALLOWED_HOSTS = []

Expand Down
2 changes: 1 addition & 1 deletion website/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from django.contrib import admin
# from django.contrib import admin

# Register your models here.
2 changes: 1 addition & 1 deletion website/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from django.db import models
# from django.db import models

# Create your models here.

0 comments on commit b8719b2

Please sign in to comment.