Is it possible to have both frameworks available? So that I could have
from google.appengine.ext import webapp
from django.template.loader import render_to_string
class MainPage(webapp.RequestHandler):
def get(self):
self.response.out.write(render_to_string('some.template'))
and
from django.http import HttpResponse
def hello(request):
return HttpResponse("Hello world")
running mapped to different URLs?
EDIT: The question basically boils down to how do I implement
urlpatterns = [
# webapp-style handler
(r'/webapp', views.MainPage),
# django
(r'/django', views.hello),
]