On Friday, March 18, 2011 10:39:18 pm Vladimir wrote: > return > render_to_response('index.html',,context_instance=RequestContext(request)) > > Such version lead to an error message: SyntaxError at/index/ , invalid > syntax (views.py, line 5) > What are my mistakes please?
xtra comma in render_to_response, either erase the extra comma or pass an empty dict. I suggest the latter as a place holder as your view grows. Mike -- The degree of technical confidence is inversely proportional to the level of management. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.