Skip to content
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

CDD-2323 Django admin for audit endpoints #2202

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

mxrman
Copy link
Collaborator

@mxrman mxrman commented Feb 20, 2025

Description

This PR enables us to access the Django admin on the cms url e.g https://<env-id>-cms.dev.ukhsa-dashboard.data.gov.uk/admin

Tests in tests/unit/metrics/api/test_urls_construction.py already include the admin path e.g.:

CMS_ADMIN_ENDPOINT_PATHS = ["cms", "admin"]

Fixes #CDD-2323


Type of change

Please select the options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tech debt item (this is focused solely on addressing any relevant technical debt)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests at the right levels to prove my change is effective
  • I have added screenshots or screen grabs where appropriate
  • I have added docstrings in the correct style (google)

@mxrman mxrman requested a review from a team as a code owner February 20, 2025 11:52
@mxrman mxrman merged commit de102e3 into main Feb 25, 2025
14 checks passed
@mxrman mxrman deleted the task/cdd-2323-cms-django-admin__urls branch February 25, 2025 16:26
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.

3 participants