Development Labs

Django Python Framework test lab::

Python version:2.7.6

Tutorial one: Poll

Errors:NameError at /admin/polls/poll/
global name ‘timezone’ is not defined
Due to : datetime module and from django.utils import timezone was not imported into models.py
Error came about after adding the line list_display = (‘question’, ‘pub_date’, ‘was_published_recently’) to admin.py. Apparently I skip a step in part one. User error

Goal:
Notes:

Computer , server issues and solutions