Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setattr(self, k,
- pacific_timezone.localize(db_row[k]) if hasattr(db_row[k], 'utcnow')
- else db_row[k])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement