And thank you Tom as well
On Fri, Mar 14, 2014 at 8:35 PM, Lunga Baliwe <lunga001@gmail.com> wrote:
Really appreciate itOn Fri, Mar 14, 2014 at 8:34 PM, Lunga Baliwe <lunga001@gmail.com> wrote:
I just put on the last forward slash onAlias /static/ /home/project_name/website/static/And it worked, yho thanks Mike...On Fri, Mar 14, 2014 at 8:29 PM, Lunga Baliwe <lunga001@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, denyAllow from all</Directory>
I did run collecstatic aswellOn Fri, Mar 14, 2014 at 8:18 PM, Tom Evans <tevans.uk@googlemail.com> wrote:
On Fri, Mar 14, 2014 at 6:08 PM, Lunga Baliwe <lunga001@gmail.com> wrote:STATIC_ROOT has nothing to do with apps, it is where the files are
> Good day Mike,
>
> I have STATIC_ROOT = os.path.join(BASE_DIR, 'website/static/')
> website being the app name
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
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.
--
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.
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/CANDnEWc%2BMTesgQGxTZ47z9GRJ8Bq6buydENbdRSm_RucB6Y4%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment