Fix gettinf of translation object
This commit is contained in:
parent
d121e0397f
commit
40fc1799dc
@ -20,7 +20,7 @@ def show_subproject(request, project, subproject):
|
||||
}))
|
||||
|
||||
def show_translation(request, project, subproject, lang):
|
||||
obj = get_object_or_404(Language, language__code = lang, subproject__slug = subproject, subproject__project__slug = project)
|
||||
obj = get_object_or_404(Translation, language__code = lang, subproject__slug = subproject, subproject__project__slug = project)
|
||||
|
||||
return render_to_response('translation.html', RequestContext(request, {
|
||||
'object': obj,
|
||||
|
Loading…
Reference in New Issue
Block a user