My code : I am following tutorial on Django site and this is where I got stuck

When I run the server, I get the following error :
context must be a dict rather than Context.
| Request Method: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/time/ |
| Django Version: | 1.11 |
| Exception Type: | TypeError |
| Exception Value: | context must be a dict rather than Context. |
| Exception Location: | D:\Users\Pubudu\AppData\Local\Programs\Python\Python36\lib\site-packages\django\template\context.py in make_context, line 287 |
| Python Executable: | D:\Users\Pubudu\AppData\Local\Programs\Python\Python36\python.exe |
| Python Version: | 3.6.1 |
| Python Path: | ['C:\\Users\\Pubudu\\workspace\\hello', 'D:\\Users\\Pubudu\\AppData\\Local\\Programs\\Python\\Python36\\python36.zip', 'D:\\Users\\Pubudu\\AppData\\Local\\Programs\\Python\\Python36\\DLLs', 'D:\\Users\\Pubudu\\AppData\\Local\\Programs\\Python\\Python36\\lib', 'D:\\Users\\Pubudu\\AppData\\Local\\Programs\\Python\\Python36', 'D:\\Users\\Pubudu\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages'] |
| Server time: | Sat, 29 Apr 2017 21:35:31 +0000 |
D:\Users\Pubudu\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\handlers\exception.py in innerD:\Users\Pubudu\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\handlers\base.py in _get_responseD:\Users\Pubudu\AppData\Local\Programs\Python\Python36\lib\site-packages\django\core\handlers\base.py in _get_responseprimary :: 91-907 529 6235
D:\Users\Pubudu\AppData\Local\ Programs\Python\Python36\lib\ site-packages\django\core\ handlers\base.pyin_get_ response