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:
parent
9bf2ae4544
commit
4eaa6ee206
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue