1. James Rivett-Carnac
  2. django-diario

Commits

James Rivett-Carnac  committed d5183df

changed some names, settings moved around s.t the rest settings are in diario settings (truth a couple revisons ago

  • Participants
  • Parent commits 656e1ee
  • Branches lexical_hilight

Comments (0)

Files changed (1)

File diario/utils/markup.py

View file
                     )
         output = markdown(value)
     elif markup == 'rest':
+        if DIARIO_USE_COLOURS:
+            from utils import rst_directive
         from django.contrib.markup.templatetags.markup import restructuredtext
         output = restructuredtext(value)
     elif markup == 'textile':