"""restructuredtext django utilities and extensions

"""
from templatetags.restructuredtext import restructuredparts, restructuredtext, restructuredtext_has_errors

## RED_FLAG: Very odd hack workaround for a RST processing problem
## hack processing to fix issue with django admin of all things!
## not sure why this fixes things either
## for some reason adding this line and processing some bad RST before the admin
## can register its ROLE handlers (django.contrb.admin.utils) causes them
## not to be called on the text below. If the admin.utils module is imported
## before docutils ever sees an error like this, then that code IS called
## but does not have the context properly set? all very odd. --DougN
restructuredtext('`Available as 1.0 since September, 2007 <http://www.modwsgi.org/>`')

