- Sphinx documentation in Django
- {% extends "base.html" %}
- {% block content %}
- ...
- {{ '{% extends "base.html" %}' }}
- {{ '{% block content %}' }}
- ...
- def someView( request, topic ):
- # use settings.SOME_DIRECTORY + path info to find the JSON file
- with something as source:
- doc= json.loads( source )
- render_to_response( 'page.template', doc )