Skip to content

Improving example/ reproducibility #994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
17 changes: 8 additions & 9 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Django-tables2 example project

This example project only supports the latest version of Django.
## To get it up and running

# To get it up and running:

```
```bash
git clone https://github.com/jieter/django-tables2.git

cd django-tables2/example
pip install -r requirements.txt
python manage.py migrate
python manage.py loaddata app/fixtures/initial_data.json
python manage.py runserver
uv sync

uv run python manage.py migrate
uv run python manage.py loaddata "app/fixtures/initial_data.json"
uv run python manage.py runserver
```

Server should be live at http://127.0.0.1:8000/ now.
Server should be live at <http://127.0.0.1:8000/> now.
16 changes: 16 additions & 0 deletions example/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
dependencies = [
"django>=5.2",
"django-bootstrap3>=25.1",
"django-bootstrap4>=25.1",
"django-bootstrap5>=25.1",
"django-debug-toolbar>=5.1.0",
"django-filter>=25.1",
"django-tables2>=2.7.5",
"tablib>=3.8.0"
]
description = "A project with a few examples of django-tables2 usage"
name = "django-tables-2-example"
readme = "README.md"
requires-python = ">=3.12"
version = "0.1.0"
7 changes: 0 additions & 7 deletions example/requirements.txt

This file was deleted.

185 changes: 185 additions & 0 deletions example/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.