count livestocks by type & set in herd model by signals
This commit is contained in:
@@ -4,3 +4,6 @@ from django.apps import AppConfig
|
||||
class LivestockConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.livestock'
|
||||
|
||||
def ready(self):
|
||||
import apps.livestock.signals
|
||||
|
||||
Reference in New Issue
Block a user