Skip to content

Commit

Permalink
Revert previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davevad93 authored Nov 29, 2024
1 parent 6ffcc71 commit c81955a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ 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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ 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
Expand Down
8 changes: 4 additions & 4 deletions myproject/myproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion myproject/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ asgiref==3.7.2
beautifulsoup4==4.12.3
certifi==2024.7.4
charset-normalizer==3.3.2
Django==4.2.16
Django==5.0.9
django-bootstrap5==23.4
gunicorn==23.0.0
idna==3.7
python-dotenv==1.0.1
pyuca==1.2
Expand Down

0 comments on commit c81955a

Please sign in to comment.