CSS file update in local doesn't change online server

Hi everyone.
I ve got a problem, when i update a css file in my computer in my django project, i cann see difference in my html file but when i do the same action in my project on LWS server. Update doesn’t change. I check web browser cache but same problem.
I store all my css files in a static folder. Even do python manage.py collectstatic., same problem.

Please help

Marius

Here my setting.py file:

from pathlib import Path
import os

Build paths inside the project like this: BASE_DIR / ‘subdir’.

BASE_DIR = Path(file).resolve().parent.parent

SECURITY WARNING: keep the secret key used in production secret!

SECRET_KEY = ‘django-insecure-*)lx-8lrmzrlg5s+=)h5r-gb+ay5iqou3tte^_#%-v4pl74vrn’

SECURITY WARNING: don’t run with debug turned on in production!

DEBUG = False

ALLOWED_HOSTS = [
‘78.138.45.207’,
ciq-st-marguerite.fr
]

CACHES = {
‘default’: {
‘BACKEND’: ‘django.core.cache.backends.dummy.DummyCache’,
}
}

Application definition

INSTALLED_APPS = [
‘django.contrib.admin’,
‘django.contrib.auth’,
‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.messages’,
‘django.contrib.staticfiles’,
‘core’,
‘travel’,
‘animation’,
‘contact’,
‘activity’,
‘inscription’,
‘meeting’,
‘presentation’,
‘project’
]

MIDDLEWARE = [
‘django.middleware.security.SecurityMiddleware’,
‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.common.CommonMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.contrib.auth.middleware.AuthenticationMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘django.middleware.clickjacking.XFrameOptionsMiddleware’,
]

ROOT_URLCONF = ‘CIQ_STMarguerite.urls’

TEMPLATES = [
{
‘BACKEND’: ‘django.template.backends.django.DjangoTemplates’,
‘DIRS’: [BASE_DIR / ‘core/templates’]
,
‘APP_DIRS’: True,
‘OPTIONS’: {
‘context_processors’: [
‘django.template.context_processors.debug’,
‘django.template.context_processors.request’,
‘django.contrib.auth.context_processors.auth’,
‘django.contrib.messages.context_processors.messages’,
],
},
},
]

WSGI_APPLICATION = ‘CIQ_STMarguerite.wsgi.application’

DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.sqlite3’,
‘NAME’: BASE_DIR / ‘db.sqlite3’,
}
}

AUTH_PASSWORD_VALIDATORS = [
{
‘NAME’: ‘django.contrib.auth.password_validation.UserAttributeSimilarityValidator’,
},
{
‘NAME’: ‘django.contrib.auth.password_validation.MinimumLengthValidator’,
},
{
‘NAME’: ‘django.contrib.auth.password_validation.CommonPasswordValidator’,
},
{
‘NAME’: ‘django.contrib.auth.password_validation.NumericPasswordValidator’,
},
]

LANGUAGE_CODE = ‘fr-FR’

TIME_ZONE = ‘UTC’

USE_I18N = True

USE_TZ = True

MEDIA_URL = “/media/”
MEDIA_ROOT = os.path.join(BASE_DIR, “media/”)

STATICFILES_DIRS = [BASE_DIR / “static”]
STATIC_URL = ‘/static/’
STATIC_ROOT = os.path.join(BASE_DIR, ‘staticfiles’)

STATICFILES_FINDERS = [
“django.contrib.staticfiles.finders.FileSystemFinder”,
“django.contrib.staticfiles.finders.AppDirectoriesFinder”,
]

DEFAULT_AUTO_FIELD = ‘django.db.models.BigAutoField’

Welcome @Morpheus5828

When posting snippets of code, do not forget to format the text. Select the code paragraphs then click “</>” button. You will find that your post becomes easier to read.

That said, it is likely that you have not configured your webserver to serve static files. Can you share your webserver’s configuration?

Hello @Morpheus5828 .

Side note for future reference: Your secret key is important for security reasons, do not share it here or anywhere else.

Welcome @Morpheus5828 !

Adding to the above, we do need more details.

Have you verified that the changed file has been deployed to your server?

Have you restarted your server?

How are you running your project? (What web server are you using? What wsgi container?)