We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for contributing to this project!
Clicking "View on Site" in the top right of the course editing admin page should take you to the course's landing page.
The URL of this button is now something like this /admin/r/5/17700000000XXXXXX/, and doesn't seem to use get_absolute_url as the docs would suggest. https://docs.djangoproject.com/en/3.2/ref/models/instances/#get-absolute-url
/admin/r/5/17700000000XXXXXX/
get_absolute_url
Related issue: #936
Seems like we may need to add something like this, though I'm not sure why: https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.view_on_site
Possibly related: https://code.djangoproject.com/ticket/27757
The text was updated successfully, but these errors were encountered:
view_on_site
The View on Site button is working as expected in MyLA beta.
Sorry, something went wrong.
The View on Site button is working as expected in MyLA test.
ssciolla
Successfully merging a pull request may close this issue.
Thank you for contributing to this project!
Expected behavior (A description of what you expected to happen) :
Clicking "View on Site" in the top right of the course editing admin page should take you to the course's landing page.
Describe the bug (Tell us what happens instead of the expected behavior) :
The URL of this button is now something like this
/admin/r/5/17700000000XXXXXX/
, and doesn't seem to useget_absolute_url
as the docs would suggest. https://docs.djangoproject.com/en/3.2/ref/models/instances/#get-absolute-urlAdditional context (Add any other context about the problem here) :
Related issue: #936
Seems like we may need to add something like this, though I'm not sure why:
https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.view_on_site
Possibly related:
https://code.djangoproject.com/ticket/27757
The text was updated successfully, but these errors were encountered: