Does anybody got a clue about this one? I just wanted to give Kid
templates a try but got stuck pretty fast:

Traceback (most recent call last):
  File "... /django/core/servers/basehttp.py", line 272, in run
    self.result = application(self.environ, self.start_response)
  File "... /django/core/servers/basehttp.py", line 615, in __call__
    return self.application(environ, start_response)
  File "... /django/core/handlers/wsgi.py", line 148, in __call__
    response = self.get_response(request.path, request)
  File "... /django/core/handlers/base.py", line 102, in get_response
    return self.get_technical_error_response(request)
  File "... /django/core/handlers/base.py", line 134, in
get_technical_error_response
    return debug.technical_500_response(request, *sys.exc_info())
  File "... /django/views/debug.py", line 90, in technical_500_response
    exc_type, exc_value, tb, template_info =
get_template_exception_info(exc_type, exc_value, tb)
  File "... /django/views/debug.py", line 18, in
get_template_exception_info
    origin, (start, end) = exc_value.source

ValueError: too many values to unpack


My views.py looks like this:

from django.http import HttpResponse
import kid

def test( request ):
   template = kid.Template (
     source = 'I am a template: ${foo}', foo='Test'
   )
   return HttpResponse( template.serialize() )


and everything works fine through the shell.
help me, i am lost! at least tonight.

bernie


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to