﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19403	timezone missing error	anonymous	nobody	"When I did this part of the turorial:

Just for good measure, let's also include the was_published_recently custom method from Tutorial 1:

class PollAdmin(admin.ModelAdmin):
    # ...
    list_display = ('question', 'pub_date', 'was_published_recently')

Adding 'was_published_recently' to list_display in admin.py would cause an error: ""Global name timezone not defined""

I added this to the top of models.py to fix it:
from django.utils import timezone

to get rid of the error"	Uncategorized	closed	Documentation	1.4	Normal	invalid			Unreviewed	0	0	0	0	0	0
