On May 18, 10:47 am, Carlo Trimarchi <mr.spoo...@gmail.com> wrote: > Hi, > I'm following the django tutorial to build the poll application. I'm > working mostly on a remote server (using wsgi), but I'm also trying > stuff on my local machine, just running the manage.py runserver > command. > I've just enabled the admin site and it works. But when I access the > page on the server it just doesn't use any style. I mean, I don't see > coloured boxes, no cool fonts or the correct layout. If I run the > local version it is displayed correctly. I'm sure that the code is the > same for both versions, since the local one is just the remote > directory mounted through ssh. > > So, what can be the problem? > You need to configure Apache / mod_wsgi to serve the static files. Here is a place to start:
http://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/#howto-deployment-modwsgi -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.