python - Django Error: TypeError: expected string or buffer -
i'm writing code django-based static blog, coming across similar issue across 3 or 4 different areas of code. figured if can 1 fixed can others fixed well. code of focus django-command call update_blog1 . here's traceback... traceback (most recent call last): file "c:\python34\lib\site-packages\django\core\handlers\base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) file "c:/users/jaysp_000/firstsite/projectone\blog_static\views.py", line 179, in archive {'posts' : posts} file "c:/users/jaysp_000/firstsite/projectone\blog_static\views.py", line 14, in render_response return render_to_response(*args, **kwargs) file "c:\python34\lib\site-packages\django\shortcuts.py", line 45, in render_to_response using=using) file "c:\python34\lib\site-packages\django\template\loader.py", line 116, in render_to_string template_name, context, context_instance, dirs, d