apps.py 312 Bytes
from django.apps import AppConfig


class UsuarioConfig(AppConfig):
    default_auto_field = 'django.db.models.BigAutoField'
    name = 'usuario'

    def ready(self):
        from actstream import registry
        registry.register(self.get_model('Usuario'))


default_app_config = 'usuario.apps.UsuarioConfig'