Re: Static Files on IIS install
On 12/04/2013 12:56pm, Mark Lybrand wrote:
> I have managed to get a Django app installed on IIS7. It is not finding
> the static files for the admin section. Can someone give me some
> pointers on the steps I need to take to get static files to work in
> general,
https://docs.djangoproject.com/en/1.4/howto/static-files/
This assumes you are using Django 1.4
as well as specifically how to make my Django app pull the
> appropriate static files from the core django package?
https://docs.djangoproject.com/en/1.4/howto/static-files/#deploying-static-files-in-a-nutshell
What information
> do you need from me to be able to answer this question?
Specific error messages if something fails. Django version. Python version.
If it isn't finding static files there won't necessarily be error
messages - you will probably just see raw html. View page source to
discover where it is looking for static files and compare what you see
with STATIC_URL. IIS has to look in STATIC_ROOT for those.
hth
Mike
>
> Thanks in advance.
>
> --
> Mark :)
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home