Django Settings Bases: BaseModel Source code in hattori/conf.py 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21class Settings(BaseModel): model_config = ConfigDict(from_attributes=True) # Throttling NUM_PROXIES: int | None = Field(None, alias="NINJA_NUM_PROXIES") DEFAULT_THROTTLE_RATES: dict[str, str | None] = Field( { "auth": "10000/day", "user": "10000/day", "anon": "1000/day", }, alias="NINJA_DEFAULT_THROTTLE_RATES", ) FIX_REQUEST_FILES_METHODS: set[str] = Field( {"PUT", "PATCH", "DELETE"}, alias="NINJA_FIX_REQUEST_FILES_METHODS" )