1. Carlos Ramos
  2. django-articles-es_mx


Josh VanderLinden  committed 4b0fa8d

#21 - Removed the 'as' keyword to make template tags happier with Python < 2.6

  • Participants
  • Parent commits fa663a7
  • Branches default

Comments (0)

Files changed (1)

File articles/templatetags/article_tags.py

View file
             # determine what view we are using based upon the path of this page
             view, args, kwargs = resolve(context['request'].path)
-        except (Resolver404, KeyError) as err:
+        except (Resolver404, KeyError):
             raise ValueError('Invalid pagination page.')
             # set the page parameter for this view