Add tradeOffer image field, tweak image generation to only fire once per tradeOffer, even with simultaneous requests
This commit is contained in:
parent
138a929da6
commit
2d826734a0
9 changed files with 127 additions and 80 deletions
|
|
@ -169,6 +169,12 @@ STATIC_URL = "/static/"
|
|||
# https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
||||
STATICFILES_DIRS = [BASE_DIR / "static"]
|
||||
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#media-root
|
||||
MEDIA_ROOT = BASE_DIR / "media"
|
||||
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#media-url
|
||||
MEDIA_URL = "/media/"
|
||||
|
||||
# https://whitenoise.readthedocs.io/en/latest/django.html
|
||||
STORAGES = {
|
||||
"default": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue