mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-02-28 04:22:22 +08:00
14 lines
393 B
Python
14 lines
393 B
Python
from typing import Any
|
|
|
|
from django.utils.functional import LazyObject
|
|
|
|
|
|
# required for plugin to be able to distinguish this specific instance of LazySettings from others
|
|
class _DjangoConfLazyObject(LazyObject): ...
|
|
|
|
|
|
class LazySettings(_DjangoConfLazyObject):
|
|
configured: bool
|
|
def configure(self, default_settings: Any = ..., **options: Any) -> Any: ...
|
|
|
|
settings: LazySettings = ... |