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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Merge requests
!54
Master
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Master
master
into
release
Overview
0
Commits
32
Pipelines
1
Changes
1000+
Merged
Nico Vermaas
requested to merge
master
into
release
4 years ago
Overview
0
Commits
32
Pipelines
1
Changes
1000
0
0
Merge request reports
Compare
release
release (base)
and
latest version
latest version
4ac25add
32 commits,
4 years ago
1000+ files
+
116152
−
27
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
1000+
Some changes are not shown.
For a faster browsing experience, only
1000 of 1000+
files are shown. Download one of the files below to see all changes.
Plain diff
Patches
atdb/atdb/settings/base.py
+
15
−
23
View file @ 4ac25add
Edit in single-file editor
Open in Web IDE
Show full file
"""
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
'
@@ -43,6 +28,9 @@ INSTALLED_APPS = [
'
django_filters
'
,
'
django_extensions
'
,
'
bootstrap_pagination
'
,
'
django_tables2
'
,
'
bootstrap3
'
,
'
fontawesome-free
'
]
MIDDLEWARE
=
[
@@ -91,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
@@ -189,6 +169,18 @@ 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
'
,
}
LOGIN_REDIRECT_URL
=
'
/atdb
'
LOGOUT_REDIRECT_URL
=
'
/atdb
'
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/
Loading