You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
345 B
13 lines
345 B
from django.apps import AppConfig |
|
from django.db.models.signals import pre_save |
|
|
|
|
|
class LeftistsConfig(AppConfig): |
|
default_auto_field = 'django.db.models.BigAutoField' |
|
name = 'leftists' |
|
|
|
def ready(self): |
|
from . import signals |
|
from .models import ShortLink |
|
|
|
pre_save.connect(signals.rmcache, sender=ShortLink)
|
|
|