Re: __unicode__() addition not working in basic poll application.

2012-11-13 Thread Colin Keenan
be all set. On Tuesday, November 13, 2012 10:10:27 AM UTC-6, Tom Evans wrote: > > On Tue, Nov 13, 2012 at 8:35 AM, Colin Keenan > <colinn...@gmail.com> > wrote: > > I found out the reason `__str__()` worked for me but `__unicode__()` > didn't. > > It's bec

Re: __unicode__() addition not working in basic poll application.

2012-11-13 Thread Colin Keenan
Thanks for the advice. It's true that I'm just learning django, and because I wanted to use python3, I installed via the most up-to-date development source code. My experience with development versions of stuff has actually been better than the fully supported versions of the same product for

Re: __unicode__() addition not working in basic poll application.

2012-11-13 Thread Colin Keenan
As of the moment I'm writing this post, my first post hasn't shown up yet. I'm having the same problem. After posting my situation, I decided to also write a __str__(self) method. That worked! But, the tutorial clearly states that we should not be doing the usual __str__, and instead doing

Re: __unicode__() addition not working in basic poll application.

2012-11-13 Thread Colin Keenan
I found out the reason `__str__()` worked for me but `__unicode__()` didn't. It's because python3 already uses unicode in the `__str__` method, so if using python3, don't use `__unicode__`. On Monday, May 16, 2011 7:32:41 AM UTC-5, maaz muqri wrote: > > Hi, >

Re: __unicode__() addition not working in basic poll application.

2012-11-13 Thread Colin Keenan
I also found this by searching from google. I am also having the exact same problem. I know python well enough not to make a "spacing" error. The people that were having this problem over a year ago seem to have never gotten the solution to their problem. I installed everything myself from