Advertisement
kellykamay

weird dict behaviour

Sep 21st, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. views.py
  2.  
  3. dayChapter = Chapter.objects.filter(chapter_date__year=kwargs['year'],
  4.                                             chapter_date__month=kwargs[
  5.                                                 'month'],
  6.                                             chapter_date__day=kwargs['day'])
  7.  
  8.         for cd in dayChapter:
  9.             print(cd.data.images)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement