Now links to user's character profiles

This commit is contained in:
2010-04-02 20:52:37 +01:00
parent 342ccfc887
commit 28d3ee66d8
2 changed files with 8 additions and 3 deletions

View File

@@ -254,7 +254,7 @@ def user_view(request, username=None):
for acc in eveaccounts:
chars = acc.characters.all()
for char in chars:
characters.append({'name': char.name, 'corp': char.corporation.name})
characters.append({'id': char.id, 'name': char.name, 'corp': char.corporation.name})
except EVEAccount.DoesNotExist:
eveaccounts = None