Re: Finding a project for django user registration

2013-02-05 Thread Zhao Quan
Thanks Ezequiel Im trying this. On Wed, Feb 6, 2013 at 10:08 AM, Ezequiel wrote: > On Tuesday, February 5, 2013 10:52:19 PM UTC-3, Zhao Quan wrote: > >> at last, I find this one >> https://github.com/**nathanborror/django-**registration<https://github.com/nathanborro

Re: Finding a project for django user registration

2013-02-05 Thread Zhao Quan
erena/issues/153 the creator closed topic which same issue to me. BTW, I have checked my spell. many thanks for all. On Wed, Feb 6, 2013 at 12:25 PM, Zhao Quan wrote: > Thanks Ezequiel > > Im trying this. > > > On Wed, Feb 6, 2013 at 10:08 AM, Ezequiel wrote: > >>

[no subject]

2013-02-18 Thread Zhao Quan
Hi all, I fish for django. So, I want to use some code to handle use login and registion issue. I find the code name "django-userena" But, after I follow the guide to setup. http://docs.django-userena.org/en/latest/installation.html I get exception like this: NameError: name 'UsernaBaseProfile' i

Re:

2013-02-18 Thread Zhao Quan
h wrote: > Hey, > > You need to import UserenaBaseProfile in your models.py before defining > MyProfile class. > > from userena.models import UserenaBaseProfile > > http://docs.django-userena.org/en/latest/installation.html#profiles > > Sincerely, > Pankaj Singh &

Re:

2013-02-18 Thread Zhao Quan
thanks I resolve that issue, seems the parameter miss a 'e'. On Tue, Feb 19, 2013 at 3:15 PM, Zhao Quan wrote: > thanks Pankaj for replay my question so quickly. :) > > I already add this code in models.py > code as below. > I place it under path &

Re:

2013-02-19 Thread Zhao Quan
Thanks Pankaj. Its my typo issue. On Tue, Feb 19, 2013 at 3:25 PM, Pankaj Singh wrote: > Right. 'UsernaBaseProfile' should be 'UserenaBaseProfile'. > > > Sincerely, > Pankaj Singh > http://about.me/psjinx > > > On Tue, Feb 19, 2013 at 12:53 P

A question for encoding issue when I read file by python

2013-06-30 Thread Zhao Quan
Hi all, when I try to read a file which actual encoding is gbk. I get exception as below: -- Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 675, in readline return self.reader.readline(size