X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f02d58db2f0a5f06c38d669c4b4c4fff95e55395..568abb2a9b95e1ee739307d2711bc3502451b0b1:/apps/explorer/views.py?ds=sidebyside diff --git a/apps/explorer/views.py b/apps/explorer/views.py index c1d8fb47..7a34cad2 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -55,7 +55,7 @@ def file_xml(request, repo, path): print 'In branch: ' + repo.repo[None].branch() print repo._add_file(path, form.cleaned_data['content']) print repo.repo.status() - print repo._commit(message='Local save at %s' % time.ctime(), user=request.user.username) + print repo._commit(message=(form.cleaned_data['commit_message'] or 'Lokalny zapis platformy.'), user=request.user.username) print repo.in_branch(save_action, models.user_branch(request.user) ); result = "ok"