Skip to content

Commit 3ea35c9

Browse files
committed
fix #48
1 parent 2e33ba9 commit 3ea35c9

File tree

8 files changed

+1370
-1354
lines changed

8 files changed

+1370
-1354
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
actions: write
3030
strategy:
3131
matrix:
32-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14.0-beta.2']
32+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14.0-beta.4']
3333
django-version:
3434
- '3.2' # LTS April 2024
3535
- '4.2' # LTS April 2026
@@ -55,13 +55,13 @@ jobs:
5555
django-version: '4.2'
5656
- python-version: '3.13'
5757
django-version: '5.0'
58-
- python-version: '3.14.0-beta.2'
58+
- python-version: '3.14.0-beta.4'
5959
django-version: '3.2'
60-
- python-version: '3.14.0-beta.2'
60+
- python-version: '3.14.0-beta.4'
6161
django-version: '4.2'
62-
- python-version: '3.14.0-beta.2'
62+
- python-version: '3.14.0-beta.4'
6363
django-version: '5.0'
64-
- python-version: '3.14.0-beta.2'
64+
- python-version: '3.14.0-beta.4'
6565
django-version: '5.1'
6666
env:
6767
COVERAGE_FILE: linux-py${{ matrix.python-version }}-dj${{ matrix.django-version }}.coverage

doc/source/changelog.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,36 @@
22
Change Log
33
==========
44

5+
v1.5.1 (2025-07-27)
6+
===================
7+
8+
* Docs `Use django-admin role for command references. <https://github.com/bckohan/django-routines/issues/48>`_
9+
510
v1.5.0 (2025-05-28)
611
===================
712

8-
* Implemented `Support python 3.14 <https://github.com/bckohan/django-render-static/issues/39>`_
9-
* Implemented `Support function pre and post hooks to be run prior to and after given commands. <https://github.com/bckohan/django-render-static/issues/9>`_
13+
* Implemented `Support python 3.14 <https://github.com/bckohan/django-routines/issues/39>`_
14+
* Implemented `Support function pre and post hooks to be run prior to and after given commands. <https://github.com/bckohan/django-routines/issues/9>`_
1015

1116
v1.4.0 (2024-04-02)
1217
===================
1318

14-
* Implemented `Use intersphinx for cross doc references <https://github.com/bckohan/django-render-static/issues/33>`_
15-
* Implemented `Switch from poetry -> uv <https://github.com/bckohan/django-render-static/issues/32>`_
16-
* Implemented `Support Django 5.2 <https://github.com/bckohan/django-render-static/issues/31>`_
19+
* Implemented `Use intersphinx for cross doc references <https://github.com/bckohan/django-routines/issues/33>`_
20+
* Implemented `Switch from poetry -> uv <https://github.com/bckohan/django-routines/issues/32>`_
21+
* Implemented `Support Django 5.2 <https://github.com/bckohan/django-routines/issues/31>`_
1722

1823
v1.3.0 (2024-02-18)
1924
===================
2025

21-
* Implemented `Remove support for python 3.8 <https://github.com/bckohan/django-render-static/issues/30>`_
22-
* Implemented `Upgrade to django-typer 3.x <https://github.com/bckohan/django-render-static/issues/29>`_
23-
* Implemented `stdout/stderr streaming from subprocesses <https://github.com/bckohan/django-render-static/issues/15>`_
26+
* Implemented `Remove support for python 3.8 <https://github.com/bckohan/django-routines/issues/30>`_
27+
* Implemented `Upgrade to django-typer 3.x <https://github.com/bckohan/django-routines/issues/29>`_
28+
* Implemented `stdout/stderr streaming from subprocesses <https://github.com/bckohan/django-routines/issues/15>`_
2429

2530
v1.2.1 (2024-08-26)
2631
===================
2732

28-
* Fixed `Switch rtd theme to furo. <https://github.com/bckohan/django-render-static/issues/27>`_
29-
* Fixed `Support python 3.13 <https://github.com/bckohan/django-render-static/issues/26>`_
33+
* Fixed `Switch rtd theme to furo. <https://github.com/bckohan/django-routines/issues/27>`_
34+
* Fixed `Support python 3.13 <https://github.com/bckohan/django-routines/issues/26>`_
3035

3136
v1.2.0 (2024-07-27)
3237
===================

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ def setup(app):
9898
# https://sphinxcontrib-typer.readthedocs.io/en/latest/howto.html#build-to-multiple-formats
9999
if Path(app.doctreedir).exists():
100100
shutil.rmtree(app.doctreedir)
101+
app.add_crossref_type(directivename="django-admin", rolename="django-admin")
101102
return app

doc/source/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Django Routines
66
===============
77

8+
.. django-admin:: routine
9+
810
Configure batches of Django management commands in your settings files and run them all at once.
911
For example, batch together your common database maintenance tasks, deployment routines or any
1012
other set of commands you need to run together. This helps single source general site maintenance

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ manage *COMMAND:
1717
os.environ["DJANGO_SETTINGS_MODULE"] = "tests.settings"
1818
management.execute_from_command_line(sys.argv + "{{ COMMAND }}".split(" "))
1919

20+
[script]
21+
clean_manage *COMMAND:
22+
import os
23+
import sys
24+
from django.core import management
25+
os.environ["DJANGO_SETTINGS_MODULE"] = "tests.base_settings"
26+
management.execute_from_command_line(sys.argv + "{{ COMMAND }}".split(" "))
27+
2028
# install the uv package manager
2129
[linux]
2230
[macos]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "django-routines"
7-
version = "1.5.0"
7+
version = "1.5.1"
88
description = "Define named groups of management commands in Django settings files for batched execution."
99
requires-python = ">=3.9,<4.0"
1010
authors = [

src/django_routines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from django.core.exceptions import ImproperlyConfigured
3131
from django.utils.functional import Promise
3232

33-
VERSION = (1, 5, 0)
33+
VERSION = (1, 5, 1)
3434

3535
__title__ = "Django Routines"
3636
__version__ = ".".join(str(i) for i in VERSION)

0 commit comments

Comments
 (0)