Commit 34141391 authored by Daniel W Bond's avatar Daniel W Bond

again something that's missing a .user-- did olde versions of django just...

again something that's missing a .user-- did olde versions of django just imply user relationships? wth
parent e6dd0f45
......@@ -95,7 +95,7 @@ class Listing(TimeStampedModel):
modified_plus_month = self.modified.date() + relativedelta(months=1)
# last login + two weeks
last_login_plus_two_weeks = self.poster.last_login.date() +\
last_login_plus_two_weeks = self.poster.user.last_login.date() +\
relativedelta(weeks=2)
last_poked = ((today > created_plus_month) or (today > modified_plus_month))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment