Re: errors serving text files using templates and static files

2010-07-27 Thread Dennis Kaarsemaker
I suggest you install firebug and check the differences in HTTP headers/html content with it. It's weird :) On ma, 2010-07-26 at 18:18 -0400, Josh Boon wrote: > Oops, swapped it and it still didn't work. Right now I have it > writing to a file and then redirecting and having Apache serve the > fi

Re: errors serving text files using templates and static files

2010-07-26 Thread Josh Boon
Oops, swapped it and it still didn't work. Right now I have it writing to a file and then redirecting and having Apache serve the file which works. My code looks like this: def bootmenu(request, username): user = User.objects.get(username=username) user_bootimage_list = Bootimage.objects

Re: errors serving text files using templates and static files

2010-07-26 Thread Dennis Kaarsemaker
On ma, 2010-07-26 at 09:21 -0700, Josh wrote: > return HttpResponse(menu, mimetype="plain/text") > > What makes Django's text serving different? What can I do to > troubleshoot this issue further? Am I just missing something about > how text files are served? The correct mimetype is tex

errors serving text files using templates and static files

2010-07-26 Thread Josh
Good morning, I've been writing a Django app to create a dynamic net boot program to boot configs created by users from a web interface using a tool called gPXE. I've exhausted my troubleshooting methods and can't seem to figure out why gPXE can boot from a static file served directly from apache