Skip to content

Instantly share code, notes, and snippets.

@FeroxTL
Last active February 13, 2018 20:35
Show Gist options
  • Save FeroxTL/757439c65f27bebffca5b39851072938 to your computer and use it in GitHub Desktop.
Save FeroxTL/757439c65f27bebffca5b39851072938 to your computer and use it in GitHub Desktop.
# __init__.py
default_app_config = 'apps.gallery.app.Config'
# app.py
from django.apps import AppConfig
class Config(AppConfig):
name = 'apps.gallery'
verbose_name = 'Gallery'
def ready(self):
__import__('signals', globals=globals())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment