Fix tag properties reference

This commit is contained in:
Roberto Rosario
2014-09-06 17:27:33 -04:00
parent 76b2cdefcc
commit a32c36d727

View File

@@ -220,7 +220,7 @@ def tag_edit(request, tag_id):
else:
form = TagForm(initial={
'name': tag.name,
'color': tag.tagproperties_set.get().color
'color': tag.properties.get().color
})
return render_to_response('main/generic_form.html', {