Changeset 93ca6ca4c7fe9b546c4f2872146f83116b9f70d1


Ignore:
Timestamp:
25.05.2013 17:53:02 (6 years ago)
Author:
Stanislaw Klekot <dozzie@…>
Branches:
b66903eafbcb1d49112014abc82c8bf683413db0
Children:
871d195c1a3c79428ce2ec090a9197cfbcc4fefc
Parents:
4003d9047056faffc3b5064437ecf62888898467
git-author:
Stanislaw Klekot <dozzie@…> (25.05.2013 17:53:02)
git-committer:
Stanislaw Klekot <dozzie@…> (25.05.2013 17:53:02)
Message:

Added saving history.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dashwiki/wiki/views.py

    rada65c r93ca6c  
    107107  try: 
    108108    page.save() 
     109    page.make_revision(request.user).save() 
    109110    context = RequestContext(request, { 
    110111      'name': page_name, 
     
    197198  if 'confirm' in request.POST: 
    198199    # FIXME: How about page = None? 
     200    page.make_revision(request.user, is_delete = True).save() 
    199201    page.delete() 
    200202    page = None 
Note: See TracChangeset for help on using the changeset viewer.