Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 )
Advertisement
Add Comment
Please, Sign In to add comment