request.session.pop's second param is not documented
python dictionaries support the pop method's second parameter, for example {}.pop('key','default') .
the django session seems to support this second parameter too, but the documentation does not mention it, so i'm not sure if i can use it or not.
Change History
(8)
| Easy pickings: |
set
|
| Triage Stage: |
Unreviewed → Accepted
|
| Type: |
Uncategorized → Bug
|
| Owner: |
changed from nobody to Adam Zapletal
|
| Status: |
new → assigned
|
| Owner: |
changed from Adam Zapletal to priidukull
|
| Owner: |
changed from priidukull to Adam Zapletal
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
I think it's just an oversite in the docs as the behavior is tested.