Skip to content

Commit

Permalink
passing test
Browse files Browse the repository at this point in the history
  • Loading branch information
defrex committed Apr 22, 2014
1 parent 9c8d45c commit 218336b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap_paginator/templatetags/paginator.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ def append_to_get(context, **kwargs):
else:
get = {}
get.update(kwargs)
return '?{1}'.format(urlencode(get))
return '?{}'.format(urlencode(get))
4 changes: 4 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
os.path.join(BASE_DIR, 'templates'),
)

TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
)

SECRET_KEY = 'notsecure'

ROOT_URLCONF = 'urls'

0 comments on commit 218336b

Please sign in to comment.