Changeset - fb16e1127dd4
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2015-03-04 23:43:04
bkuhn@ebb.org
Correct to use pub_date here, not a variable.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/blog/urls.py
Show inline comments
...
 
@@ -62,7 +62,7 @@ def all_authors():
 
                  key=last_name)
 

	
 
def all_year_list():
 
    return Entry.objects.dates(date_field, 'year')
 
    return Entry.objects.dates('pub_date', 'year')
 

	
 
# The functions are passed to the context uncalled so they will be
 
# called for each web request.  If we want to only make these database
0 comments (0 inline, 0 general)