DevelopmentConfig
Configuration for local development.
Attributes
| Attribute | Type | Description |
|---|---|---|
| DEBUG | bool = True | Enables or disables the debug mode for the application to provide detailed error messages during local development. |
| PAGE_SIZE | int = 10 | The 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
| Type | Description |
|---|---|
Dict[str, Any] | A dictionary containing the time-to-live (TTL) and maximum size constraints for the development cache. |