annotate downloads/apps.py @ 978:a828e80223d2

Prevent 500 error when previewing no text. Don't call image_check() when there is no data.
author Brian Neal <bgneal@gmail.com>
date Mon, 05 Oct 2015 20:26:14 -0500
parents 1a832625c047
children
rev   line source
bgneal@922 1 from django.apps import AppConfig
bgneal@922 2
bgneal@922 3
bgneal@922 4 class DownloadsConfig(AppConfig):
bgneal@922 5 name = 'downloads'
bgneal@922 6
bgneal@922 7 def ready(self):
bgneal@922 8 import downloads.receivers