MattW schreef: > Dear Group, > > I've got an HTML page with associated CSS that I want to use as my > template. Just to test it, I call: > > return render_to_response('about.html') > > and I get the page, but with no CSS info. I've checked the page > source, and it has the name of the stylesheet in there, and the page > renders correctly when I open the html page in Firefox (rather than > using it through django). > > What am I doing wrong? > > Thanks, > Matt
Matt, have you looked at http://www.djangoproject.com/documentation/static_files/ You need to specifically enable serving of media files when using the django server. It's all explained in the link above. Regards, Benedict --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---