Compare commits

..

2 commits

Author SHA1 Message Date
91762fe286
Fix odd-looking red outline on focused form field
Can't recall why I added this. It doesn't make much sense from a usability
perspective as it suggests the field might be invalid.
2024-10-08 23:53:47 +11:00
34b51240e9
Use STORAGGES setting to avoid deprecation warning 2024-10-08 23:53:15 +11:00
2 changed files with 9 additions and 7 deletions

View file

@ -123,12 +123,20 @@ TIME_ZONE = 'America/New_York'
LANGUAGE_CODE = 'en-us'
USE_TZ = False
STORAGES = {
'default': {
'BACKEND': 'django.core.files.storage.FileSystemStorage',
},
'staticfiles': {
'BACKEND': 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage',
},
}
STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR.parent / 'collected_static'
STATICFILES_DIRS = [
BASE_DIR / 'static',
]
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
MEDIA_ROOT = BASE_DIR.parent / 'media'
MEDIA_URL = '/media/'

View file

@ -76,12 +76,6 @@ form[action$="#fixme"]:before {
text-align: center;
}
input:focus {
z-index: 3;
border-color: #86b7fe;
box-shadow: 0 0 0 .25rem rgb(236, 99, 67, .5);
}
video {
max-width: 100%;
}