Bonjour, Interprétation des css ? C'est à dire ? Serveur de dev de Django ? Environnement de pris ? C'est quoi l'erreur au niveau des css exactement (403, 404, 500) ?
Bref, plus de précision, car tes settings ont l'air bon sinon. Florian S. Le 31 mai 2012 11:55, "carlos" <[email protected]> a écrit : > Bonjour la communauté, > Je me suis à django avec la version 1.3.1 j'ai un problème > d'interprétation du code css, voici la structure de mon projet: > > All > |-static(-css,-image) > > |-template (base.html,header.html,footer.html ,index.html) > > |-admin > |-db > |-media > |-settings.py > |-urls.py > |-manage.py > |-init.py > > et voici comment j'ai parametré le fichier settings.py > [code]# Absolute filesystem path to the directory that will hold > user-uploaded files. > # Example: "/home/media/media.lawrence.com/media/" > MEDIA_ROOT = '/home/car00x/all/media/' > > # URL that handles the media served from MEDIA_ROOT. Make sure to use a > # trailing slash. > # Examples: "http://media.lawrence.com/media/", > "http://example.com/media/" > MEDIA_URL = '/media/' > > # Absolute path to the directory static files should be collected to. > # Don't put anything in this directory yourself; store your static files > # in apps' "static/" subdirectories and in STATICFILES_DIRS. > # Example: "/home/media/media.lawrence.com/static/" > STATIC_ROOT = '/home/car00x/all/static', > > # URL prefix for static files. > # Example: "http://media.lawrence.com/static/" > STATIC_URL = '/static/' > > # URL prefix for admin static files -- CSS, JavaScript and images. > # Make sure to use a trailing slash. > # Examples: "http://foo.com/static/admin/", "/static/admin/". > ADMIN_MEDIA_PREFIX = '/static/admin/' > > # Additional locations of static files > STATICFILES_DIRS = ( > # Put strings here, like "/home/html/static" or > "C:/www/django/static". > # Always use forward slashes, even on Windows. > # Don't forget to use absolute paths, not relative paths. > '/home/car00x/all/static' > ) > [/code] > > Ai-je fait une erreur dans le paramétrage du fichier settings.py? > merci pour votre aide. > _______________________________________________ > django mailing list > [email protected] > http://lists.afpy.org/mailman/listinfo/django >
_______________________________________________ django mailing list [email protected] http://lists.afpy.org/mailman/listinfo/django
