Re: sphinx is showing the django base views instead of my own views.py

2018-05-08 Thread Anthony Petrillo
Solved. Thank you again Tony for pointing me in the right direction. Jens Hedegaard Nielsen gave the answer (indirectly) at https://github.com/sphinx-doc/sphinx/issues/4182. There he pointed to autodoc_mock_imports = ["django"] in the Sphinx documentation http://www.sphinx-doc.org/en/stabl

Re: sphinx is showing the django base views instead of my own views.py

2018-05-05 Thread Anthony Petrillo
Thank you Tony. It is the second option, documenting my code. I changed my rst to (note the site name was changed from game to rival5): views module == .. automodule:: rival5.play.views :members: :undoc-members: :show-inheritance: I have the following added to the path

Re: sphinx is showing the django base views instead of my own views.py

2018-05-05 Thread 'Anthony Flury' via Django users
Can you be clear what you are trying to do ? Did you want your Sphinx Page to display an alternative Django documentation - i.e. a module reference for Django ? Or did you want your Sphinx Page to document your appĀ  - if so the issue is that your rst just calls for the views module - and that

sphinx is showing the django base views instead of my own views.py

2018-05-04 Thread Anthony Petrillo
The view being shown when using Sphinx on a Django site is: The beginning of my views.py is: import os from django.shortcuts import render, redirect from djan