Skip to content

Commit 02bb019

Browse files
committed
Merge branch 'master' into stage
2 parents 03c8262 + 7592c64 commit 02bb019

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SHELL = /bin/bash
2-
DOCKER_EXEC_DJANGO=$(shell command -v docker > /dev/null && echo "docker-compose exec -T django")
2+
DOCKER_EXEC_DJANGO=$(shell command -v docker > /dev/null && echo "docker-compose exec django")
33
DOCKER_EXEC_VUE=$(shell command -v docker > /dev/null && echo "docker-compose exec vue")
44
DOCKER_EXEC_WWW=$(shell command -v docker > /dev/null && echo "docker-compose exec www")
55

django/main/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
DEBUG = os.getenv('DJANGO_DEBUG') == 'True'
55
USE_HTTPS = os.getenv('DJANGO_HTTPS') == 'True'
66

7+
78
if USE_HTTPS:
89
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
910
SESSION_COOKIE_SECURE = True
@@ -143,4 +144,5 @@
143144
}
144145
}
145146
THUMBNAIL_BACKEND = 'main.utils.PermalinkThumbnailBackend'
147+
THUMBNAIL_PREFIX = 'cache/'
146148
SAVE_SCREENSHOT_ENABLED = True

django/main/templates/admin/base_site.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,9 @@
5353
background: #543076;
5454
}
5555

56+
.button:active, input[type=submit]:active, input[type=button]:active, .button:focus, input[type=submit]:focus, input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=button]:hover {
57+
background: #61388B !important;
58+
}
59+
5660
</style>
5761
{% endblock %}

0 commit comments

Comments
 (0)