mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +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/
|
||||
credentials*
|
||||
|
||||
*pem
|
||||
*crt
|
||||
*.pem
|
||||
*.crt
|
||||
|
||||
*bk
|
||||
*.bk
|
||||
|
||||
### The usual garbage files ###
|
||||
|
||||
|
|
|
@ -10,6 +10,10 @@ services:
|
|||
- db
|
||||
working_dir: /app
|
||||
entrypoint: python /app/docker_entrypoint.py
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
max_attempts: 5
|
||||
environment:
|
||||
# Send stdout and stderr straight to the terminal without buffering
|
||||
- PYTHONUNBUFFERED=yup
|
||||
|
|
|
@ -4,7 +4,6 @@ For more information see:
|
|||
https://docs.djangoproject.com/en/4.0/topics/http/urls/
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
|
||||
|
@ -18,10 +17,3 @@ urlpatterns = [
|
|||
# these views respect the DEBUG setting
|
||||
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