Skip to content

Commit a1f912c

Browse files
committed
Bumped Django to 4.1
Recreated project with Django 4.1 Additionally: - Renamed example oauth_settings file to keep .yml extension (for syntax highlighting) - Fixed issues/warning from pylint - Trimmed requirements.txt to only direct dependencies - Updated Django build action to use new project location and adjusted Python versions
1 parent c204c73 commit a1f912c

File tree

22 files changed

+1240
-670
lines changed

22 files changed

+1240
-670
lines changed

.github/workflows/django.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ on:
88

99
jobs:
1010
build:
11-
11+
1212
defaults:
1313
run:
14-
working-directory: demo/graph_tutorial
14+
working-directory: graph_tutorial
1515

1616
runs-on: ubuntu-latest
1717
strategy:
1818
max-parallel: 4
1919
matrix:
20-
python-version: [3.7, 3.8, 3.9]
20+
python-version: [3.8, 3.9, 3.10]
2121

2222
steps:
2323
- uses: actions/checkout@v2
2424
- name: Copy settings file
2525
run: |
26-
cp oauth_settings.yml.example oauth_settings.yml
26+
cp oauth_settings.example.yml oauth_settings.yml
2727
- name: Set up Python ${{ matrix.python-version }}
2828
uses: actions/setup-python@v2
2929
with:

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,5 @@ venv.bak/
103103
# mypy
104104
.mypy_cache/
105105

106-
# VS Code
107-
.vscode/
108-
109106
# OAuth settings
110107
oauth_settings.yml
111-
112-
QSTemp/
113-
PythonDjangoQuickStart.zip

.vscode/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"python.linting.pylintEnabled": true,
3+
"python.linting.enabled": true,
4+
"python.linting.pylintArgs": [
5+
"--rcfile=graph_tutorial/.pylintrc"
6+
],
7+
"cSpell.words": [
8+
"calendarview",
9+
"dateutil",
10+
"gettz",
11+
"newevent",
12+
"signin",
13+
"signout",
14+
"timespec"
15+
]
16+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If you don't have a Microsoft account, there are a couple of options to get a fr
4444
4545
## Configure the sample
4646

47-
1. Rename the `oauth_settings.yml.example` file to `oauth_settings.yml`.
47+
1. Rename the `oauth_settings.example.yml` file to `oauth_settings.yml`.
4848
1. Edit the `oauth_settings.yml` file and make the following changes.
4949
1. Replace `YOUR_APP_ID_HERE` with the **Application Id** you got from the App Registration Portal.
5050
1. Replace `YOUR_APP_PASSWORD_HERE` with the password you got from the App Registration Portal.

0 commit comments

Comments
 (0)