Really appreciate it

On Fri, Mar 14, 2014 at 8:34 PM, Lunga Baliwe <[email protected]> wrote:

> 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 <[email protected]> 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 <[email protected]>wrote:
>>
>>> On Fri, Mar 14, 2014 at 6:08 PM, Lunga Baliwe <[email protected]>
>>> 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 [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/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 [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/CANDnEWc2cm7oUr_Mmmd%3DuDvzxAqd%2B6caDjiCmzTTBPFg2Co%2Bkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to