From 6ffcc71f3405ee677200735fc96a257a6866fe1b Mon Sep 17 00:00:00 2001 From: Davide Presti <94308234+davevad93@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:10:18 +0100 Subject: [PATCH] Update settings.py and cron jobs --- .github/workflows/codeql.yml | 6 ------ .github/workflows/django.yml | 6 ------ myproject/myproject/settings.py | 8 ++++---- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e3ff912..a463065 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -32,12 +32,6 @@ jobs: cd myproject pip install -r requirements.txt - - name: Apply Migrations - run: | - cd myproject - python manage.py makemigrations - python manage.py migrate - - name: Run Django test run: | cd myproject diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 7dc6278..b0c9df7 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -31,12 +31,6 @@ jobs: cd myproject pip install -r requirements.txt - - name: Apply Migrations - run: | - cd myproject - python manage.py makemigrations - python manage.py migrate - - name: Run Django test run: | cd myproject diff --git a/myproject/myproject/settings.py b/myproject/myproject/settings.py index b8eac07..e5aeb0d 100644 --- a/myproject/myproject/settings.py +++ b/myproject/myproject/settings.py @@ -92,10 +92,10 @@ # https://docs.djangoproject.com/en/5.0/ref/settings/#databases DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': BASE_DIR / 'db.sqlite3', - } + # 'default': { + # 'ENGINE': 'django.db.backends.sqlite3', + # 'NAME': BASE_DIR / 'db.sqlite3', + # } } # Password validation