mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Small example and documentation
This commit is contained in:
parent
4ac78e10cd
commit
8b80dddf72
@ -69,6 +69,14 @@ By default, NetBox will permit users to create duplicate prefixes and IP address
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## FILE_UPLOAD_MAX_MEMORY_SIZE
|
||||||
|
|
||||||
|
Default: 2621440 (i.e. 2.5 MB).
|
||||||
|
|
||||||
|
The maximum size (in bytes) that an upload will be before it gets streamed to the file system. Changing this setting can be useful for example to be able to upload files bigger than 2.5MB to custom scripts for processing.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## GRAPHQL_ENABLED
|
## GRAPHQL_ENABLED
|
||||||
|
|
||||||
!!! tip "Dynamic Configuration Parameter"
|
!!! tip "Dynamic Configuration Parameter"
|
||||||
|
@ -217,6 +217,10 @@ RQ_DEFAULT_TIMEOUT = 300
|
|||||||
# this setting is derived from the installed location.
|
# this setting is derived from the installed location.
|
||||||
# SCRIPTS_ROOT = '/opt/netbox/netbox/scripts'
|
# SCRIPTS_ROOT = '/opt/netbox/netbox/scripts'
|
||||||
|
|
||||||
|
# The maximum size (in bytes) that an upload will be before it gets streamed to the file system.
|
||||||
|
# Useful to be able to upload files bigger than 2.5Mbyte to custom scripts for processing.
|
||||||
|
# FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
|
||||||
|
|
||||||
# The name to use for the csrf token cookie.
|
# The name to use for the csrf token cookie.
|
||||||
CSRF_COOKIE_NAME = 'csrftoken'
|
CSRF_COOKIE_NAME = 'csrftoken'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user