Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "pip"
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: .python-version
cache: 'pip'
- uses: astral-sh/setup-uv@v7

- name: Install dependencies
run: pip install -r requirements.txt
run: uv sync --locked

- name: Run Django check
run: python manage.py check
run: uv run manage.py check
19 changes: 19 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[project]
name = "rest-framework-tutorial"
version = "1.0.0"
description = "The Django REST framework tutorial. 🎓"
readme = "README.md"
requires-python = "==3.13.*"
dependencies = [
"dj-database-url==3.1.2",
"django==6.0.3",
"djangorestframework==3.17.1",
"drf-spectacular==0.29.0",
"gunicorn==25.3.0",
"inflection==0.5.1",
"markdown==3.10.2",
"psycopg[binary]==3.3.3",
"pygments==2.19.2",
"pyyaml==6.0.3",
"whitenoise==6.12.0",
]
11 changes: 0 additions & 11 deletions requirements.txt

This file was deleted.

Loading