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/CANDnEWdJKt7Pa6WB-bNGh_%2BHpnS8WSCMX0Ev7nH98v2JQ7Q17w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.