static html

2008-10-08 Thread Alfredo Alessandrini
Hi, I'm trying to show a static html page... The html page is in the /media folder. I've some problem with view funcition: def list_commands(request): commands = return HttpResponse(commands) How can I load the html page? Regards, Alfredo

Re: Django Admin - Does not see templates, images or templates.

2008-10-08 Thread NoviceSortOf
> What version of Django are you running?  These two patterns are from > different Django versions.  The first, with the include of > 'django.contrib.admin.urls' was the old one -- that file does not exist in > Django 1.0.  The 2nd pattern, referring to 'admin.site.root', is what should > be

Re: Double encoded slash in path_info removed when using apache/wsgi

2008-10-08 Thread Merrick
Could this problem be in the wsgi.py handler in django? If not I suppose I need to look at mod_wsgi and quit asking here :) On Oct 7, 4:05 pm, Merrick <[EMAIL PROTECTED]> wrote: > I need urls that contain other urls within them i.e. > > http://mydomain.com/find/http%3A%2F%2Fwww.wired.com%2F%2F

Re: Django Hosting Survey

2008-10-08 Thread Ross Dakin
I'll chime in for Slicehost. I have the 256 plan and it's great. A few notes: 1) It is a time sink to set it up, but they have many tutorials online (publicly available) that do a great job of holding your hand if you aren't a Linux guru (like I'm not). 2) You'll want to fiddle with the Apache

Branching proj/myapp into branch/0.1/myapp breaks

2008-10-08 Thread Gerard Petersen
Hi all, This might be somewhat off topic, but I'm moving my django project into another directory (svn branch). It was here: /home/gerard/files/python/djapp/(myapp) I want it here: /home/gerard/files/python/djapp/branches/0.1/(myapp) When the project dir is named 0.1 instead of djapp I get a

Re: request.POST.get is not working

2008-10-08 Thread theaellen
Hope you have solved this problem already. I ran into a similar problem today while trying to use something like task = request.POST.get('task') which I thought should work since it worked for GET. I have a large list to pass back and GET did not have enough room. I ended up doing something

<    1   2