Replies: 1 comment
-
May be not directly related to this issue, however, for fixing/changing the admin site "VIEW SITE" link for a Django app with non-root URL (eg /myapp) with apache and mod_wsgi: override the admin site_url context, for example, see code below for overriding admin generate_site_url in apps.py:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary:
Suppose you have Django set up so the top level url is http://thehost/myapp/. Then your URL root is "/myapp". All the Django admin page templates then render correctly with links like,
https://thehost/myapp/admin/auth/
But the links are wrong in pages that render with the django-celery-beat change_list template (https://github.com/celery/django-celery-beat/blob/master/django_celery_beat/templates/admin/djcelery/change_list.html).
To be clear: All other Django admin pages render correctly. Only the django-celery-beat change list pages are broken.
The links on the celery beat "Change periodic task" page look like,
https://thehost/admin/django_celery_beat/
when the correct link should be,
https://thehost/myapp/admin/django_celery_beat/
Exact steps to reproduce the issue:
Beta Was this translation helpful? Give feedback.
All reactions