Spaces:
Runtime error
Runtime error
Download auth_app/apps.py from neurostack-in/pms_server: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/spaces/neurostack-in/pms_server/resolve/main/auth_app/apps.py
- Command line
-
hf download hf://spaces/neurostack-in/pms_server/auth_app/apps.py
-
curl -L -o apps.py https://huggingface.co/spaces/neurostack-in/pms_server/resolve/main/auth_app/apps.py
572 Bytes
| from django.apps import AppConfig | |
| class AuthAppConfig(AppConfig): | |
| default_auto_field = "django.db.models.BigAutoField" | |
| name = "auth_app" | |
| def ready(self): | |
| # Import firebase initialization | |
| from .firebase_app import initialize_firebase | |
| initialize_firebase() | |
| print("Firebase ready() called from AuthAppConfig") | |
| class AccountsConfig(AppConfig): | |
| default_auto_field = "django.db.models.BigAutoField" | |
| name = "accounts" | |
| def ready(self): | |
| # Import firebase initialization | |
| from . import firebase_app |