Changes between Version 50 and Version 51 of NewbieMistakes
- Timestamp:
- May 17, 2013, 12:47:24 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewbieMistakes
v50 v51 107 107 sessionlist.append(new_object) 108 108 request.session['my_list'] = sessionlist 109 }}} 110 111 Alternatively, explictly mark the session as modified: 112 113 {{{ 114 request.session['my_list'].append(new_object) 115 request.session.modified = True 109 116 }}} 110 117