mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Move the employment history into the context
This commit is contained in:
@@ -173,13 +173,12 @@ def eveapi_character(request, charid=None, template='eve_api/character.html', li
|
||||
skillTree[-1][0] += skill.skillpoints
|
||||
skillTree[-1][2].append(skill)
|
||||
|
||||
employmenthistory = character.employmenthistory.all().order_by('-record_id')
|
||||
|
||||
context = {
|
||||
'character': character,
|
||||
'current_training': current_training,
|
||||
'skills': skills,
|
||||
'skillTree': skillTree,
|
||||
'employmenthistory': character.employmenthistory.all().order_by('-record_id'),
|
||||
}
|
||||
return render_to_response(template, context, context_instance=RequestContext(request))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user