annotate wiki/apps.py @ 974:d260aef91ad7

Prevent post preview from allowing mixed content. Apply image_check() to post previews and display an error message instead of the preview if it fails.
author Brian Neal <bgneal@gmail.com>
date Thu, 01 Oct 2015 20:18:48 -0500
parents bd043677d527
children
rev   line source
bgneal@923 1 from django.apps import AppConfig
bgneal@923 2
bgneal@923 3
bgneal@923 4 class WikiConfig(AppConfig):
bgneal@923 5 name = 'wiki'
bgneal@923 6
bgneal@923 7 def ready(self):
bgneal@923 8 import wiki.receivers