Created
March 31, 2014 05:47
-
-
Save tai-sho/415b4fbb4d385c54a242 to your computer and use it in GitHub Desktop.
django view test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.http import HttpResponse | |
from django.shortcuts import render_to_response | |
def helloworld(request): | |
return render_to_response('test.html', {'title': 'djangoTest!'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment