thanks, unfortunately i keep getting a 404, the templates name is
2col.html, its inside ash/templates, the url i have is (r'^paragraph/
$', 'show_para'), and the views is
from django.http import HttpResponse
from django.shortcuts import render_to_response
def show_para(request):
para = "I love this project"
variables = RequestContext(request,{ 'paragraph': para})
return render_to_response('2col.html',variables)
even if it works i was wondering if i would have to create a new
function for every variable,
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.