Skip to content

Commit

Permalink
update django
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed Sep 23, 2023
1 parent 4ce9f07 commit 8bf5d6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
PYTHON_VERSION: '3.7'
PYTHON_VERSION: '3.11'
WORKING_DIRECTORY: python/django

jobs:
Expand All @@ -20,10 +20,10 @@ jobs:
working-directory: ${{ env.WORKING_DIRECTORY }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python version
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down
6 changes: 6 additions & 0 deletions python/django/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Django

```sh
pip install -r requirements.txt
python manage.py runserver
```
5 changes: 4 additions & 1 deletion python/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Django>=3.0,<=3.1
asgiref==3.7.2
Django==4.2.5
pytz==2023.3.post1
sqlparse==0.4.4

0 comments on commit 8bf5d6f

Please sign in to comment.