Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding the __str__ function for objects #11

Open
danyaljj opened this issue Mar 8, 2017 · 0 comments
Open

Overriding the __str__ function for objects #11

danyaljj opened this issue Mar 8, 2017 · 0 comments

Comments

@danyaljj
Copy link
Member

danyaljj commented Mar 8, 2017

We have to override the __str__ so that upon printing the view object, it shoes the content of the object properly:
http://stackoverflow.com/a/4912856/1164246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant