Oops!
Of course the code under "def get(self):" should be indented
accordingly.
= = = = = = = = = =
How about this (assumes you have the "helloworld.html" stored in the
"templates" subfolder of where your code is)
for main.py:
from google.appengine.ext import webapp
from google.appengine.e
How about this:
(assumes you have the "helloworld.html" stored in the "templates"
subfolder of where your code is)
*for main.py:
import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
from google.appengine.ext.webapp import template
class MainHandler(
Another alternative that worked for me, that did not require the
"import django", is by putting the following line:
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
right above these lines
from google.appengine.dist import use_library
use_library('django', '1.2')
I think it's also imp