mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
* django3, py39, lgtm, linting (#715) * IX-F Importer: ticket status change when posting re-occuring conflict to existing resolved ticket (#920) * fix recaptcha requirement for user creation in django-admin (#715) * IX-F Importer: fix command output buffering #967 * Drop dot1q_support field #903 * fix test (#967) * Add name, city, country to ixfac (GET operation) #166 * additional tests fir #166 * Allow IXP to trigger ix-f importer for their exchange #779 * add docker compose for dev * add selinux labels for mountpoints * fixes #1013: The process to permanently remove old soft-deleted network contacts pdb_delete_pocs raises a false ProtectedAction * fix api test * relock poetry * remove django_namespace_perms from installed apps * fix user permissios ui * remove remaining references to django namespace perms * linting * copy tox.ini * comment flake8 check until we figure out why it ignores configs from tox.ini * black format * poetry lock Co-authored-by: Stefan Pratter <stefan@20c.com>
23 lines
1.0 KiB
Python
23 lines
1.0 KiB
Python
from django.conf import settings
|
|
|
|
PEERINGDB_VERSION = getattr(settings, "PEERINGDB_VERSION", "")
|
|
|
|
# TODO - move these out of peeringdb.settings
|
|
RDAP_URL = getattr(settings, "PEERINGDB_RDAP_URL", "https://rdap.db.ripe.net/")
|
|
RDAP_LACNIC_APIKEY = getattr(settings, "PEERINGDB_RDAP_LACNIC_APIKEY", None)
|
|
RDAP_RECURSE_ROLES = getattr(
|
|
settings, "PEERINGDB_RDAP_RECURSE_ROLES", ["administrative", "technical"]
|
|
)
|
|
RDAP_SELF_BOOTSTRAP = getattr(settings, "RDAP_SELF_BOOTSTRAP")
|
|
RDAP_BOOTSTRAP_DIR = getattr(settings, "RDAP_BOOTSTRAP_DIR")
|
|
RDAP_IGNORE_RECURSE_ERRORS = getattr(settings, "RDAP_IGNORE_RECURSE_ERRORS")
|
|
|
|
TUTORIAL_MODE = getattr(settings, "TUTORIAL_MODE", False)
|
|
RELEASE_ENV = getattr(settings, "RELEASE_ENV", "dev")
|
|
SHOW_AUTO_PROD_SYNC_WARNING = getattr(settings, "SHOW_AUTO_PROD_SYNC_WARNING", False)
|
|
AUTO_APPROVE_AFFILIATION = getattr(settings, "AUTO_APPROVE_AFFILIATION", False)
|
|
AUTO_VERIFY_USERS = getattr(settings, "AUTO_VERIFY_USERS", False)
|
|
MAINTENANCE_MODE_LOCKFILE = getattr(
|
|
settings, "MAINTENANCE_MODE_LOCKFILE", "maintenance.lock"
|
|
)
|