[google-appengine] How set the GAE django URL ?

2008-12-07 Thread KissDragon
When I retrieve the url it encounter "No such module", I set the same as a single django project, it can normally run. but in "GAE django" can not. This is the "urls.py" setting(my project name is djest, under the folder, there are two subfolder named "view" and "templates", and has a ma

[google-appengine] My "return HttpResponseRedirect" doesn't work

2009-01-03 Thread KissDragon
Here is the py file content: #!/usr/bin/python # -*- coding: utf-8 -*- import os from django.shortcuts import render_to_response from django.http import HttpResponseRedirect from django.http import HttpResponse from model.BlogModel import * import sys reload(sys) sys.setdefaultencoding('utf-8')