Re: Syntax error with render_to_response call

2007-01-25 Thread Tipan
Hi Christian, I think you are right, I was using a PHP IDE as my editor and when I reverted to Notepad, it showed a different layout. I modified it and it worked fine. Really frustrating and such a waste of time. Is there a popular IDE that makes editing quick and easy? Tim --~--~-~--

Re: Syntax error with render_to_response call

2007-01-25 Thread Christian Joergensen
Tipan wrote: > def codeview(request): > manipulator = CodeViewManipulator() > if request.method == 'POST': > new_data = request.POST.copy() > errors = manipulator.get_validation_errors(new_data) > if not errors: > > return HttpResponseRed

Syntax error with render_to_response call

2007-01-25 Thread Tipan
I have a problem that is causing me some grief and I can't seem to found a reason for it. I'm relatively new to Django and Python so it is likely to be something simple. I have a function that displays a form and some data from a table. If the form data is correct, it generates some new lines of