Skip to content

Settings

rn_forge.django.settings

Typed settings facade for rn-forge-django.

AuthSettings(problem_type_base='') dataclass

Runtime settings for auth helpers.

AuthSettingsDict

Bases: TypedDict

Typed Django settings shape for RN_FORGE_DJANGO["AUTH"].

CasingSettings(enabled=_DEFAULT_CASING_ENABLED) dataclass

Runtime settings for the camelCase JSON renderer and parser.

CasingSettingsDict

Bases: TypedDict

Typed Django settings shape for RN_FORGE_DJANGO["DRF"]["CASING"].

DRFSettings(transfer=TransferSettings(), pagination=PaginationSettings(), casing=CasingSettings()) dataclass

Runtime settings for DRF integration helpers.

DRFSettingsDict

Bases: TypedDict

Typed Django settings shape for RN_FORGE_DJANGO["DRF"].

PaginationSettings(page_size=_DEFAULT_PAGE_SIZE, page_size_query_param=_DEFAULT_PAGE_SIZE_QUERY_PARAM, max_page_size=_DEFAULT_MAX_PAGE_SIZE) dataclass

Runtime settings for the DRF pagination classes.

Read at request time by both pagination classes, so override_settings takes effect without a re-import.

PaginationSettingsDict

Bases: TypedDict

Typed Django settings shape for RN_FORGE_DJANGO["DRF"]["PAGINATION"].

RnforgeDjangoSettings(auth=AuthSettings(), drf=DRFSettings()) dataclass

Runtime settings facade for rn-forge-django.

RnforgeDjangoSettingsDict

Bases: TypedDict

Typed Django settings shape consumed by RN_FORGE_DJANGO.

TransferSettings(max_rows=_DEFAULT_TRANSFER_MAX_ROWS) dataclass

Runtime settings for tabular transfer and batch operations.

max_rows caps the rows of one export, import or batch request; None removes the cap.

TransferSettingsDict

Bases: TypedDict

Typed Django settings shape for RN_FORGE_DJANGO["DRF"]["TRANSFER"].