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

Create objects detail pages #236

Closed
5 tasks done
tsmbland opened this issue Mar 21, 2024 · 0 comments · Fixed by #376
Closed
5 tasks done

Create objects detail pages #236

tsmbland opened this issue Mar 21, 2024 · 0 comments · Fixed by #376
Assignees
Labels
bug Something isn't working umbrella Issue made of other issues
Milestone

Comments

@tsmbland
Copy link
Member

tsmbland commented Mar 21, 2024

If you navigate to an object in the admin page you'll see a VIEW ON SITE button in the top-right. Clicking this button gives Server Error (500). Running locally you get, for example Reverse for 'country_detail' not found. 'country_detail' is not a valid view function or pattern name. We should fix this button, or remove it.

Seems like a problem with the get_absolute_url method for the models

This includes adding the relevant view pages (list, detail, edit, create and delete) to the following apps:

The measurement app does not need views as they have their own dash apps to be managed and, in exceptional circumstances, via de Admin by admin who know what they are doing.

@dalonsoa dalonsoa added the bug Something isn't working label Jun 13, 2024
@dalonsoa dalonsoa added this to the Version 1.0.1 milestone Sep 19, 2024
@dalonsoa dalonsoa changed the title View on site button: Server Error (500) Create objects detail pages Sep 23, 2024
@dalonsoa dalonsoa self-assigned this Sep 23, 2024
@dalonsoa dalonsoa modified the milestones: Version 1.0.1, Version 1.1.0 Oct 3, 2024
@dalonsoa dalonsoa added the umbrella Issue made of other issues label Oct 3, 2024
@dalonsoa dalonsoa linked a pull request Oct 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working umbrella Issue made of other issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants