Skip to content
Snippets Groups Projects
Commit c34d053a authored by Valentin Groues's avatar Valentin Groues :eyes:
Browse files

add md5 to static files names

parent b5b9c0b2
No related branches found
No related tags found
No related merge requests found
Pipeline #
Showing
with 4 additions and 2 deletions
...@@ -31,3 +31,5 @@ STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any m ...@@ -31,3 +31,5 @@ STATIC_ROOT = '/tmp/static' # Warning! `/tmp` directory can be flushed in any m
MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media MEDIA_ROOT = '/tmp/media' # Warning! `/tmp` directory can be flushed in any moment; use a persistent one, e.g. ~/tmp/media
ALLOWED_HOSTS = ["127.0.0.1", "localhost"] ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
...@@ -15,7 +15,6 @@ import os ...@@ -15,7 +15,6 @@ import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
...@@ -87,6 +86,8 @@ INTERNAL_IPS = [ ...@@ -87,6 +86,8 @@ INTERNAL_IPS = [
'127.0.0.1' '127.0.0.1'
] ]
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/ # https://docs.djangoproject.com/en/1.10/topics/i18n/
...@@ -100,7 +101,6 @@ USE_L10N = True ...@@ -100,7 +101,6 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/ # https://docs.djangoproject.com/en/1.10/howto/static-files/
......
smash/web/static/AdminLTE/img/avatar.png

7.93 KiB

smash/web/static/AdminLTE/img/avatar04.png

13.2 KiB

smash/web/static/AdminLTE/img/avatar2.png

8.07 KiB

smash/web/static/AdminLTE/img/avatar3.png

9.02 KiB

smash/web/static/AdminLTE/img/avatar5.png

7.4 KiB

smash/web/static/AdminLTE/img/boxed-bg.jpg

121 KiB

smash/web/static/AdminLTE/img/boxed-bg.png

42.7 KiB

smash/web/static/AdminLTE/img/credit/american-express.png

2.11 KiB

smash/web/static/AdminLTE/img/credit/cirrus.png

1.54 KiB

smash/web/static/AdminLTE/img/credit/mastercard.png

1.55 KiB

smash/web/static/AdminLTE/img/credit/mestro.png

1.54 KiB

smash/web/static/AdminLTE/img/credit/paypal.png

1.99 KiB

smash/web/static/AdminLTE/img/credit/paypal2.png

1.19 KiB

smash/web/static/AdminLTE/img/credit/visa.png

1.04 KiB

smash/web/static/AdminLTE/img/default-50x50.gif

184 B

smash/web/static/AdminLTE/img/icons.png

1.12 KiB

smash/web/static/AdminLTE/img/photo1.png

656 KiB

smash/web/static/AdminLTE/img/photo2.png

413 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment