mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Address PR feedback
This commit is contained in:
parent
2f9e16194e
commit
cbf39aa3c3
3 changed files with 7 additions and 11 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -6,10 +6,10 @@ docs/research/data/**
|
||||||
public/
|
public/
|
||||||
credentials*
|
credentials*
|
||||||
|
|
||||||
*pem
|
*.pem
|
||||||
*crt
|
*.crt
|
||||||
|
|
||||||
*bk
|
*.bk
|
||||||
|
|
||||||
### The usual garbage files ###
|
### The usual garbage files ###
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,10 @@ services:
|
||||||
- db
|
- db
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
entrypoint: python /app/docker_entrypoint.py
|
entrypoint: python /app/docker_entrypoint.py
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
max_attempts: 5
|
||||||
environment:
|
environment:
|
||||||
# Send stdout and stderr straight to the terminal without buffering
|
# Send stdout and stderr straight to the terminal without buffering
|
||||||
- PYTHONUNBUFFERED=yup
|
- PYTHONUNBUFFERED=yup
|
||||||
|
|
|
@ -4,7 +4,6 @@ For more information see:
|
||||||
https://docs.djangoproject.com/en/4.0/topics/http/urls/
|
https://docs.djangoproject.com/en/4.0/topics/http/urls/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.conf import settings
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import include, path
|
from django.urls import include, path
|
||||||
|
|
||||||
|
@ -18,10 +17,3 @@ urlpatterns = [
|
||||||
# these views respect the DEBUG setting
|
# these views respect the DEBUG setting
|
||||||
path("__debug__/", include("debug_toolbar.urls")),
|
path("__debug__/", include("debug_toolbar.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
if settings.DEBUG:
|
|
||||||
import debug_toolbar
|
|
||||||
|
|
||||||
urlpatterns = [
|
|
||||||
path("__debug__/", include(debug_toolbar.urls)),
|
|
||||||
] + urlpatterns
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue