view bio/apps.py @ 1090:71685387dd11

Reduce database usage on poll index page.
author Brian Neal <bgneal@gmail.com>
date Mon, 09 May 2016 19:48:51 -0500
parents 0b6bf9c5a982
children
line wrap: on
line source
from django.apps import AppConfig


class BioConfig(AppConfig):
    name = 'bio'
    verbose_name = 'Biography'

    def ready(self):
        import bio.receivers