apps.py
368 Bytes
from django.apps import AppConfig
class EdictoConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'edicto'
def ready(self):
from actstream import registry
registry.register(
self.get_model('Edicto'),
self.get_model('Precio'),
)
default_app_config = 'edicto.apps.EdictoConfig'