view potd/apps.py @ 1206:02181fa5ac9d modernize tip

Update to Django 1.9.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Jan 2025 17:58:16 -0600
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