mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
3f40ee5501
* Move extras.plugins to netbox.plugins & add deprecation warnings * Move plugin template tags from extras to utilities * Move plugins tests from extras to netbox * Add TODO reminders for v4.0
48 lines
1016 B
Python
48 lines
1016 B
Python
###################################################################
|
|
# This file serves as a base configuration for testing purposes #
|
|
# only. It is not intended for production use. #
|
|
###################################################################
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
DATABASE = {
|
|
'NAME': 'netbox',
|
|
'USER': 'netbox',
|
|
'PASSWORD': 'netbox',
|
|
'HOST': 'localhost',
|
|
'PORT': '',
|
|
'CONN_MAX_AGE': 300,
|
|
}
|
|
|
|
PLUGINS = [
|
|
'netbox.tests.dummy_plugin',
|
|
]
|
|
|
|
REDIS = {
|
|
'tasks': {
|
|
'HOST': 'localhost',
|
|
'PORT': 6379,
|
|
'USERNAME': '',
|
|
'PASSWORD': '',
|
|
'DATABASE': 0,
|
|
'SSL': False,
|
|
},
|
|
'caching': {
|
|
'HOST': 'localhost',
|
|
'PORT': 6379,
|
|
'USERNAME': '',
|
|
'PASSWORD': '',
|
|
'DATABASE': 1,
|
|
'SSL': False,
|
|
}
|
|
}
|
|
|
|
SECRET_KEY = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
|
|
|
|
DEFAULT_PERMISSIONS = {}
|
|
|
|
LOGGING = {
|
|
'version': 1,
|
|
'disable_existing_loggers': True
|
|
}
|