Friday, April 20, 2012

Re: Tutorial

On Sat, Apr 21, 2012 at 7:12 AM, Gerald Klein <jk@zognet.com> wrote:
> Hi, I did the tutorial everything is fine, I wanted to see how it was off
> the dev webserver they give you , so I hooked it up to uWSGI. The views that
> I defined are fine but the admin has no formatting just data. Can someone
> tell me what I missed.

Sound like you're not properly configure the server to serve static
content. View source for the html through your browser, pick any
references to css or js files - something like
http://yoursite.com/static/admin/styles.css or
http://localhost:8000/static/admin/style.css and try to access it
directly. If you got 404 - Page Not Found then you need to configure
uWSGI to serve the static files. It maybe not a good idea to serve the
static files through uWSGI but you can figure out that later once you
understand and fix this problem.

https://docs.djangoproject.com/en/1.3/howto/static-files/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate