Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /Athroniaeth_keyshield /src /keyshield /django /apps.py
| """Django application configuration for keyshield. | |
| Add ``"keyshield.django"`` to ``INSTALLED_APPS`` in your Django settings | |
| to make the :class:`~keyshield.django.models.ApiKeyModel` available for | |
| migrations. | |
| """ | |
| try: | |
| from django.apps import AppConfig | |
| except ModuleNotFoundError as e: # pragma: no cover | |
| raise ImportError("Django integration requires 'django'. Install it with: uv add keyshield[django]") from e | |
| class FastApiApiKeyDjangoConfig(AppConfig): | |
| """App config that registers the Django ORM model under the label | |
| ``keyshield_django``.""" | |
| name = "keyshield.django" | |
| label = "keyshield_django" | |
| verbose_name = "Keyshield" | |
| default_auto_field = "django.db.models.BigAutoField" | |
Xet Storage Details
- Size:
- 717 Bytes
- Xet hash:
- 08b3d42a1c317c5d25449ee829e4524e70ad88fe071eb2150c53744e69c1ae96
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.