Monday, September 15, 2014

Re: static files in Django 1.7 ; Anything was change?

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 <fellipeh@gmail.com>:
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'
Twitter: @fh_bash

2014-09-15 8:41 GMT-03:00 Vladimir Chukharev <vladimir.chukharev@gmail.com>:
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 a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/ExbIrYMBKhs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ff527a78-0c27-4b99-89bc-34059132855a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF1jwZEsN8_fWq_SjhWZ-yTt-%2BXnQKZ1gTqgSJnoGw7EseXGgQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
------------------------------------------------------------
Ricardo Daniel Quiroga - L2Radamanthys

   Msn: l2radamanthys@gmail.com
           ricardo_quiu@hotmail.com
                   http://github.com/L2Radamanthys
   Twitter:    @l2Radamanthys
---------------------------------------------------------

--
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 email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO2-wHa9cV2pv1makDKGv3RYsf2z%2Bv18NyKuFKwAs7M3p5dYcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment