fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dopracowanie leniwego doładowywania stron (problemy są w momencie, kiedy skan strony...
[redakcja.git]
/
apps
/
explorer
/
views.py
diff --git
a/apps/explorer/views.py
b/apps/explorer/views.py
index
b8d00cf
..
4a78e01
100644
(file)
--- a/
apps/explorer/views.py
+++ b/
apps/explorer/views.py
@@
-22,7
+22,7
@@
def file_xml(request, path):
form = forms.BookForm(request.POST)
if form.is_valid():
repo.add_file(path, form.cleaned_data['text'])
form = forms.BookForm(request.POST)
if form.is_valid():
repo.add_file(path, form.cleaned_data['text'])
- repo.commit()
+ repo.commit(
message=form.cleaned_data['commit_message'], user=form.cleaned_data['user']
)
return HttpResponseRedirect(request.get_full_path())
else:
form = forms.BookForm()
return HttpResponseRedirect(request.get_full_path())
else:
form = forms.BookForm()