I just put on the last forward slash on
Alias /static/ /home/project_name/website/static/

And it worked, yho thanks Mike...


On Fri, Mar 14, 2014 at 8:29 PM, Lunga Baliwe <lunga...@gmail.com> wrote:

> yes I think I have on apache I got it like this.
>
> Alias /static/ /home/project_name/website/static
> <Directory /home/project_name/website/static>
>     Order allow, deny
>     Allow from all
> </Directory>
>
> I did run collecstatic aswell
>
> On Fri, Mar 14, 2014 at 8:18 PM, Tom Evans <tevans...@googlemail.com>wrote:
>
>> On Fri, Mar 14, 2014 at 6:08 PM, Lunga Baliwe <lunga...@gmail.com> wrote:
>> > Good day Mike,
>> >
>> > I have STATIC_ROOT = os.path.join(BASE_DIR, 'website/static/')
>> > website being the app name
>>
>> STATIC_ROOT has nothing to do with apps, it is where the files are
>> copied to (by django) and served from (by your webserver).
>>
>> Assuming staticfiles works for you in development, there are very few
>> things that you can do wrong, so (in turn):
>>
>> Have you run collectstatic to copy files from your static folders
>> (application static folders and folders listed in STATICFILES_DIRS) to
>> your STATIC_ROOT?
>>
>> Have you configured your webserver to serve files in the folder
>> indicated by STATIC_ROOT at the URL indicated by STATIC_URL?
>>
>> Cheers
>>
>> Tom
>>
>> --
>> 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+unsubscr...@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/CAFHbX1Lo%3DU9m-gMmO%2Bc-dOXNWAjj%2Bx%3DN2UkUDq9QXuNh4YV%3D9Q%40mail.gmail.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+unsubscr...@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/CANDnEWf0VxhEkO%2BBZYbc4uC6hjQC9wR895ZykXORh0rGmWhv9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to