Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Merge requests
!47
add task details page
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
add task details page
dev-nico
into
master
Overview
0
Commits
2
Pipelines
0
Changes
14
Merged
Nico Vermaas
requested to merge
dev-nico
into
master
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
14
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d5a912cf
2 commits,
4 years ago
14 files
+
160
−
73
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
Search (e.g. *.vue) (Ctrl+P)
atdb/atdb/settings/base.py
+
9
−
23
Options
"""
Django settings for atdb project.
Generated by
'
django-admin startproject
'
using Django 2.0.3.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import
os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'
cie-((m#n$br$6l53yash45*2^mwuux*2u)bad5(0flx@krnj9
'
@@ -94,14 +79,6 @@ REST_FRAMEWORK = {
'
PAGE_SIZE
'
:
100
}
# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
DATABASES
=
{
'
REPLACE_WITH_DB_JSON
'
:
False
}
# Password validation
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators
@@ -192,6 +169,15 @@ LOGGING = {
}
}
from
django.contrib.messages
import
constants
as
messages
MESSAGE_TAGS
=
{
messages
.
DEBUG
:
'
alert-secondary
'
,
messages
.
INFO
:
'
alert-info
'
,
messages
.
SUCCESS
:
'
alert-success
'
,
messages
.
WARNING
:
'
alert-warning
'
,
messages
.
ERROR
:
'
alert-danger
'
,
}
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/
Loading