1
0
Fork 0
mirror of https://github.com/correl/codereview.git synced 2025-04-08 01:00:59 -09:00

New reviews weren't using the shortened description prepared for them

This commit is contained in:
Correl Roush 2010-12-09 00:12:35 -05:00
parent 9bf2ae4544
commit 4eaa6ee206

View file

@ -19,7 +19,7 @@ def new(request):
commit = repo.commit(form.cleaned_data['ref'])
description = commit.message.split('\n')[0].strip()
review = Review.objects.create(author=request.user,
description=commit.message)
description=description)
item = Item.objects.create(
review=review,
repo=repository,