Hi all.
I use djangoappengine http://www.allbuttonspressed.com/projects/djangoappengine#zip-packages to manage google app engine.from django.conf.urls.defaults import *
from shape_practice.views import introduction
handler500 = 'djangotoolbox.errorviews.server_error'
urlpatterns = patterns('',
('^_ah/warmup$', 'djangoappengine.views.warmup'),
(r'^introduction/$', introduction),
)
from django.conf import settings
from django.http import HttpResponse
from django.utils.importlib import import_module
from django.template import loader, Context, RequestContext
def introduction(request):
t = loader.get_template('introduction.html')
c = Context({})
return HttpResponse(t.render(c))
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment