Skip to content

Conversation

wo0dyn
Copy link
Contributor

@wo0dyn wo0dyn commented Jan 30, 2017

µPR

@wo0dyn wo0dyn self-assigned this Jan 30, 2017
@wo0dyn wo0dyn requested review from brunobord and moumoutte January 30, 2017 15:30
@wo0dyn wo0dyn force-pushed the models/add-__unicode__-methods branch from ec6ab45 to c882b4b Compare January 30, 2017 15:32
@brunobord
Copy link
Contributor

thats cool... where are your tests? ;o)

@wo0dyn wo0dyn force-pushed the models/add-__unicode__-methods branch 2 times, most recently from 83dbb75 to b56113d Compare January 31, 2017 01:28
@wo0dyn wo0dyn changed the title [models] Add unicode methods [models] Add str() methods Jan 31, 2017
@wo0dyn
Copy link
Contributor Author

wo0dyn commented Jan 31, 2017

where are your tests?

Tests added.
I renamed the method to __str__() so it can be compatible with both python2 and python3.

Copy link
Contributor

@brunobord brunobord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, you may want to add a changelog entry if you want.

It is pretty usefull when debugging objects.
@wo0dyn wo0dyn force-pushed the models/add-__unicode__-methods branch from b56113d to 9b2de21 Compare January 31, 2017 08:23
@wo0dyn
Copy link
Contributor Author

wo0dyn commented Jan 31, 2017

you may want to add a changelog entry if you want.

ChangeLog amended with the previous PR #166 and this one.

@wo0dyn wo0dyn merged commit c85e76c into master Jan 31, 2017
@wo0dyn wo0dyn deleted the models/add-__unicode__-methods branch January 31, 2017 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants