view potd/apps.py @ 986:26de15fb5a80

Guard against bad image urls in ssl_images.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Oct 2015 14:47:29 -0500
parents 1cb227d59e20
children
line wrap: on
line source
from django.apps import AppConfig


class PotdConfig(AppConfig):
    name = 'potd'
    verbose_name = 'Photo of the Day'
    label = 'potd'

    def ready(self):
        import potd.receivers