Fix issues with docs generation on Django 1.5.

Review Request #4636 — Created Sept. 23, 2013 and submitted

chipx86
Review Board
master
reviewboard

Fix issues with docs generation on Django 1.5.

Docs generation on Django 1.5 didn't work due to the 'reset' management
command being removed. We used this command to remove the SCMTool data
that gets installed by default on a database, but another option is to
just run with RUNNING_TEST=1, which will bypass that.

The payload data also needed to be split on \r\n\r\n instead of \n\n.

Along with this, to help with error output, I added another where=
for a parse_text call.

Built docs.

reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    docs/manual/_ext/webapidocs.py
    Ignored Files:
    docs/manual/Makefile

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    docs/manual/_ext/webapidocs.py
    Ignored Files:
    docs/manual/Makefile

  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...