Be notified of new comments on this post with the RSS feed for this post.
thanks
Hi im using Django version 1.1.1 when logged site just displays "Welcome," to make it display username u need to add to portal/views.py
from django.template import RequestContext
and modify render_to_response to
return render_to_response('portal/index.html',{},context_instance=RequestContext(request))
I get:
TemplateSyntaxError at /portal/
Caught UnicodeDecodeError while rendering: ('utf8', 'then displays everything in templates/portal/portal.html and index.html and at the end says: {% endblock %}\n', 521, 522, 'unexpected code byte')
Any suggestions as to what might cause this?
thanks
Thanks. It works for me
You can use a restricted version of markdown formatting here. You can use the toolbar above the text field to make this more painless. For more information about markdown please refer to the markdown cheatsheet.
Thanks a lot! Very straightforward and helpful..