view potd/apps.py @ 1060:8a67a2008c13

Fix V3 bug that polluted template contexts.
author Brian Neal <bgneal@gmail.com>
date Mon, 21 Mar 2016 19:50:59 -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