hi
in you setings.py add
in INSTALLED_APPS add 'django.contrib.staticfiles',
STATIC_URL = '/media/'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, "media"), #you template path
)
2014-09-15 14:27 GMT-03:00 Fellipe Henrique :
> I in development mode, DEBUG = True. using the django serv
I in development mode, DEBUG = True. using the django server.
I already run './manage.py collectstatic' they create all my static in my
path.. but don't work...
T.·.F.·.A.·. S+F
*Fellipe Henrique P. Soares*
e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
*Blog:
Yes, there are some changes, see release notes. In particular, you
probably need to run 'django-admin collectstatic'.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an ema
What are you using to serve static files? You normally setup your server
e.g. Nginx to take care of this.
Here's an example of Nginx setup file which serves static files from
/webapps/hello_django/static/:
server {
listen 80;
server_name example.com;
client_max_body_size 4G;
Hi,
It looks like you don't have the static configured in your urls. Have a look
here:
https://docs.djangoproject.com/en/1.3/howto/static-files/#basic-usage
Regards,
Xavier.
Le 14 oct. 2011 à 18:54, Pulkit Mehrotra a écrit :
> hey i am having problem loading my static files in django 1.3
>
>
5 matches
Mail list logo