Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

reference is now a string not an int #3

Merged
merged 1 commit into from

1 participant

@a-musing-moose

No description provided.

@a-musing-moose a-musing-moose merged commit 6ce5508 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 1, 2012
  1. @a-musing-moose
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  accounts/dashboard/views.py
View
2  accounts/dashboard/views.py
@@ -226,7 +226,7 @@ def get_queryset(self):
'date': "",
}
if data['reference']:
- queryset = queryset.filter(id=int(data['reference']))
+ queryset = queryset.filter(reference=data['reference'])
desc_ctx['reference'] = _(
" with reference '%s'") % data['reference']
Something went wrong with that request. Please try again.