comparison potd/apps.py @ 916:1cb227d59e20

Potd app refactor. For Django 1.7.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Mon, 06 Apr 2015 19:36:38 -0500
parents
children
comparison
equal deleted inserted replaced
915:53eaeb29bd2a 916:1cb227d59e20
1 from django.apps import AppConfig
2
3
4 class PotdConfig(AppConfig):
5 name = 'potd'
6 verbose_name = 'Photo of the Day'
7 label = 'potd'
8
9 def ready(self):
10 import potd.receivers