ohh my god..it should be STATICFILES_DIRS
! And not STATIC_DIRS? Thank you so much!!! On Thu, Feb 27, 2014 at 6:38 PM, Robin Lery <[email protected]> wrote: > > if DEBUG: > MEDIA_URL = '/media/' > STATIC_ROOT = os.path.join(os.path.dirname( > BASE_DIR), "static", "static-only") > MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "static", "media") > STATIC_DIRS = ( > *os.path.join(os.path.dirname(**BASE_DIR), "static", "static"),* > ) > > > On Thu, Feb 27, 2014 at 6:35 PM, Robin Lery <[email protected]> wrote: > >> Hello, >> I have been trying to collect statics from the static folder but, its not >> collecting any files. But it did collect the admin files. What's wrong. >> Please help me. >> >> Thank you. >> >> *settings:* >> >> import os >> BASE_DIR = os.path.dirname(os.path.dirname(__file__)) >> >> STATIC_URL = '/static/' >> >> # Template location >> TEMPLATE_DIRS = ( >> os.path.join(os.path.dirname(BASE_DIR), "static", "templates"), >> ) >> >> if DEBUG: >> MEDIA_URL = '/media/' >> STATIC_ROOT = os.path.join(os.path.dirname(BASE_DIR), "static", >> "static-only") >> MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), "static", >> "media") >> STATIC_DIRS = ( >> os.path.join(os.path.dirname(BASE_DIR), "static", "static-only"), >> ) >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CA%2B4-nGrT8TcVF9Wr4F%3Di3yq7PG4iKAc-SqypvL1A7cFg0QHhVw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

