Hi,
Looks ok to me.
Two comments though:
38 +class Person(models.Model): 39 + lpid = models.TextField(_("Who"), max_length=80)
is that long enough?
70 + if form.cleaned_data["comment"] != opportunity.comment: 71 + models.log_action(request.user.username, 72 + action="changed comment to: '%s'" % \ 73 + form.cleaned_data["comment"], 74 + opportunity=opportunity)
that will overflow
action = models.TextField(_("Action"), max_length=120)
if the comment is long won't it?
You probably want to ellipsise the comment in the action if it is long.
Thanks,
James
« Back to merge proposal
Hi,
Looks ok to me.
Two comments though:
38 +class Person( models. Model): TextField( _("Who" ), max_length=80)
39 + lpid = models.
is that long enough?
70 + if form.cleaned_ data["comment" ] != opportunity. comment: log_action( request. user.username, data["comment" ], opportunity)
71 + models.
72 + action="changed comment to: '%s'" % \
73 + form.cleaned_
74 + opportunity=
that will overflow
action = models. TextField( _("Action" ), max_length=120)
if the comment is long won't it?
You probably want to ellipsise the comment in the action if it is
long.
Thanks,
James