Skip to main content

DevelopmentConfig

Configuration for local development.

Attributes

AttributeTypeDescription
DEBUGbool = TrueEnables or disables the debug mode for the application to provide detailed error messages during local development.
PAGE_SIZEint = 10The default number of items to display per page in paginated API responses or views.

Methods


get_cache_config()

@classmethod
def get_cache_config() - > Dict[str, Any]

Generates the cache configuration settings specifically for the local development environment.

Returns

TypeDescription
Dict[str, Any]A dictionary containing the time-to-live (TTL) and maximum size constraints for the development cache.