I have an issue with Django, so wanted to raise it here before going to the 
extent of raising a bug.

For a simple scenario, I have a site "Survey", an app "Report" and models 
"Question" and "Answer". Note that the case is important; I've capitalised 
the first letter of each.

Admin documentation is turned on, and if I go to the documentation models 
page (e.g. http://localhost:8000/admin/doc/models/) I can see a link to the 
Question and Answer pages and this link takes me to the model pages 
correctly, for example the Question page at 
http://localhost:8000/admin/doc/models/Report.question/

However, if I try to follow any of the links on that page to other models - 
either those generated automatically or those I add through the use of the 
text :model:`Report.Question` they fail. It appears that the links have 
been generated using a lower case representation of the app, i.e. 
http://localhost:8000/admin/doc/models/report.question/ 
<http://localhost:8000/admin/doc/models/Report.question/> rather than the 
correct case.

Does this indicate I have missed something or is this likely to be a bug 
which I need to raise on the bug tracker?

For transparency, I will add that I have posted this on Stack Overflow too 
- 
https://stackoverflow.com/questions/62656784/django-admin-documentation-with-mixed-case-project-name
 - 
but should either approach yield a solution I'll update the other for 
others reference.

Many thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e2adcf1f-1952-4fad-ac80-2502da0560cco%40googlegroups.com.

Reply via email to