Mercurial > public > sg101
diff core/management/commands/make_flatpage.py @ 587:7ed2101df789
Add a __future__ import for with for production server.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 10 May 2012 20:26:57 -0500 |
parents | ef4ef8c8ec8d |
children |
line wrap: on
line diff
--- a/core/management/commands/make_flatpage.py Thu May 10 20:24:37 2012 -0500 +++ b/core/management/commands/make_flatpage.py Thu May 10 20:26:57 2012 -0500 @@ -3,6 +3,7 @@ A management command to update flatpage objects from restructured text files. """ +from __future__ import with_statement import os.path import docutils.core