Changeset bfdbd17715d099c2e913a6139c1c38f3db1fecbc


Ignore:
Timestamp:
13.05.2013 10:24:35 (8 years ago)
Author:
Stanislaw Klekot <dozzie@…>
Branches:
b66903eafbcb1d49112014abc82c8bf683413db0
Children:
76673b735dcaf4a727542199b0c70149c6bf5649
Parents:
4073cae3c3532761ff04d651f33b3ec7c6436314
git-author:
Stanislaw Klekot <dozzie@…> (13.05.2013 10:24:35)
git-committer:
Stanislaw Klekot <dozzie@…> (13.05.2013 10:24:35)
Message:

Added removing macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dashwiki/wiki/views.py

    rdb7f89 rbfdbd1  
    372372  template = loader.get_template('remove_macro.html') 
    373373 
     374  if 'confirm' in request.POST: 
     375    Macro.objects.filter(name = macro_name).delete() 
     376 
    374377  context = Context({ 
    375378    'name': macro_name, 
Note: See TracChangeset for help on using the changeset viewer.