Skip to content

Conversation

@selwin
Copy link
Collaborator

@selwin selwin commented Nov 29, 2025

No description provided.

@selwin selwin merged commit 7b8f7f9 into master Nov 29, 2025
17 checks passed
@selwin selwin deleted the sidebar-links branch November 29, 2025 09:37
terencehonles added a commit to terencehonles/django-rq that referenced this pull request Dec 16, 2025
This change fixes the Django admin integration added in
rq#747. As is, the integration adds
the views, but they do not reverse properly without also including the
URLs via `include("django_rq.urls")`. When using Django's `ModelAdmin`,
the URLs registered will be in the "admin" namespace, but the templates
were not updated to include a namespace so they fail to resolve.

This change conditionally resolves with either the prefix `django_rq:`
or `admin:django_rq_` depending on how the view is called (via the admin
app or not) and the URLs are also registered with the corresponding
prefix.

In order to properly test this integration, the default URL conf has been
updated to not include the django_rq URLS via `include`, and a separate
`default_with_custom_mount_urls` URL conf is provided in order to test
integrations using both `include` and the admin integration.
terencehonles added a commit to terencehonles/django-rq that referenced this pull request Dec 16, 2025
This change fixes the Django admin integration added in
rq#747. As is, the integration adds
the views, but they do not reverse properly without also including the
URLs via `include("django_rq.urls")`. When using Django's `ModelAdmin`,
the URLs registered will be in the "admin" namespace, but the templates
were not updated to include a namespace so they fail to resolve.

This change conditionally resolves with either the prefix `django_rq:`
or `admin:django_rq_` depending on how the view is called (via the admin
app or not) and the URLs are also registered with the corresponding
prefix.

In order to properly test this integration, the default URL conf has been
updated to not include the django_rq URLS via `include`, and a separate
`default_with_custom_mount_urls` URL conf is provided in order to test
integrations using both `include` and the admin integration.
terencehonles added a commit to terencehonles/django-rq that referenced this pull request Dec 16, 2025
This change fixes the Django admin integration added in
rq#747. As is, the integration adds
the views, but they do not reverse properly without also including the
URLs via `include("django_rq.urls")`. When using Django's `ModelAdmin`,
the URLs registered will be in the "admin" namespace, but the templates
were not updated to include a namespace so they fail to resolve.

This change conditionally resolves with either the prefix `django_rq:`
or `admin:django_rq_` depending on how the view is called (via the admin
app or not) and the URLs are also registered with the corresponding
prefix.

In order to properly test this integration, the default URL conf has been
updated to not include the django_rq URLS via `include`, and a separate
`default_with_custom_mount_urls` URL conf is provided in order to test
integrations using both `include` and the admin integration.
selwin pushed a commit that referenced this pull request Dec 23, 2025
This change fixes the Django admin integration added in
#747. As is, the integration adds
the views, but they do not reverse properly without also including the
URLs via `include("django_rq.urls")`. When using Django's `ModelAdmin`,
the URLs registered will be in the "admin" namespace, but the templates
were not updated to include a namespace so they fail to resolve.

This change conditionally resolves with either the prefix `django_rq:`
or `admin:django_rq_` depending on how the view is called (via the admin
app or not) and the URLs are also registered with the corresponding
prefix.

In order to properly test this integration, the default URL conf has been
updated to not include the django_rq URLS via `include`, and a separate
`default_with_custom_mount_urls` URL conf is provided in order to test
integrations using both `include` and the admin integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants