Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
s3bu7i committed Feb 18, 2024
1 parent 67b88e9 commit a089f69
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
python manage.py runserver
2 changes: 2 additions & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.env

Binary file modified demo/__pycache__/settings.cpython-312.pyc
Binary file not shown.
9 changes: 5 additions & 4 deletions demo/settings.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# import environ
import os



# import env
# env = env.Env()
# env.Env.read_env()

# env = environ.Env()
# environ.Env.read_env()


ENVIRONMENT = os.getenv('ENVIRONMENT', 'development')


DEBUG = False
# ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['.vercel.app']
ALLOWED_HOSTS = ['*']
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down
14 changes: 0 additions & 14 deletions vercel.json

This file was deleted.

0 comments on commit a089f69

Please sign in to comment.