Skip to content

Commit

Permalink
Fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ghickman committed May 2, 2011
1 parent 663a63c commit c1258d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion password/admin.py
Expand Up @@ -19,7 +19,7 @@ def queryset(self, request):
qs = super(PasswordAdmin, self).queryset(request)
if user.is_superuser:
return qs
return qs.filter(Q(employee=user) | Q(is_public=True))
return qs.filter(Q(user=user) | Q(is_public=True))

admin.site.register(Password, PasswordAdmin)

0 comments on commit c1258d1

Please sign in to comment.