Opened 11 years ago
Closed 11 years ago
#22849 closed New feature (fixed)
Implement Session.__str__() to allow easy introspection
| Reported by: | Ram Rachum | Owned by: | mardini |
|---|---|---|---|
| Component: | contrib.sessions | Version: | 1.6 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Change History (4)
comment:1 by , 11 years ago
| Summary: | Implement `Session.__repr__` or `Session.__str__` to allow easy introspection → Implement Session.__str__() to allow easy introspection |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 11 years ago
| Has patch: | set |
|---|
PR for ticket here: https://github.com/django/django/pull/2952
comment:4 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Tim merged this in https://github.com/django/django/commit/b157ffdbb97576a60995e719575ee733bba17508. Thanks for the patch!
Note:
See TracTickets
for help on using tickets.
And don't forget to decorate the class with
@python_2_unicode_compatible.