- Timestamp:
- 13/07/09 17:05:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py
r5261 r5481 688 688 atom = self.saveAtomToExist(Atom(**dict(self.inputs))) 689 689 url = h.url_for('edit', uri = atom.ndgURI, saveData=None) 690 691 # NB, the redirect throws an exception, so be careful not to catch it 692 h.redirect_to(url) 690 693 691 except Invalid, e: 694 692 c.errors = e.unpack_errors() … … 696 694 c.xml = 'System Error: %s' %str(e) 697 695 return render("genshi", 'error') 698 696 697 # NB, the redirect throws an exception, so be careful not to catch it 698 h.redirect_to(url) 699 699 700 700 logging.info("Setting up atom create template")
Note: See TracChangeset
for help on using the changeset viewer.