X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f02d58db2f0a5f06c38d669c4b4c4fff95e55395..edc5eb8445edaacafef276ad761d1a905d7f54cd:/apps/explorer/views.py 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"