🔧 (apps.py): Import signals in ready method to ensure signals are loaded when the app starts 🔧 (pyproject.toml): Add PGH004 to lint ignore list to avoid linting errors related to PostgreSQL-specific code
11 lines
205 B
Python
11 lines
205 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class GameConfig(AppConfig):
|
|
name = 'game'
|
|
verbose_name = 'Game'
|
|
verbose_name_plural = 'Games'
|
|
|
|
def ready(self):
|
|
from game import signals # noqa
|