django 1.6 how does the form.as_p decide the textfield rows and and cols?

2014-01-31 Thread
http://stackoverflow.com/questions/21481229/django-1-6-how-does-the-form-as-p-decide-the-textfield-rows-and-and-cols I have read the form.as_p method source code, still don't know.[image: enter image description here] #models.py class User(AbstractBaseUser): description = models.TextField(

Re: How to send a activation email when creating accounts in site?

2014-01-04 Thread
This is the updated project file. myauth2.zip <https://www.dropbox.com/s/q3et2b4jchlqkmr/myauth2.zip> 在 2014年1月4日星期六UTC+8下午10时26分24秒,Sergiy Khohlov写道: > > looks like signal is not sent. i will check this on Monday > Many thanks, > > Serge > > > +380 636150445 > skype: s

How to send a activation email when creating accounts in site?

2014-01-04 Thread
I use django 1.6.1 and python 3.3.3 in windows8. I want to build a app named 'customauth' that supports email activation. I choose to create my own user model from the django.contrib.auth.models.AbstractBaseUser , not a profile model that holds a OneToOneField to django build-in User model. Thi

How to build a app with a custom User model that supports email activation?

2014-01-04 Thread
I use django 1.6.1 and python 3.3.3 in windows8. I want to build a app named 'customauth' that supports email activation. I choose to create my own user model from the django.contrib.auth.models.AbstractBaseUser , not a profile model that holds a OneToOneField to django build-in User model. Thi

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread
u* to create an account, but the > person reading/receiving your files will not. > > Hope that helps! > > Yours, > Russ Magee %-) > > On Fri, Jan 3, 2014 at 10:26 AM, 项楠 >wrote: > >> It worked. Thank you. BTW, could you recommend a site for sharing files >>

Re: django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread
REQUIRED_FIELDS, and you should only get two requests for a password. > > I can see why you've made this error - the documentation isn't clear on > this point. I've opened ticket #21726 [1] to make sure this is addressed. > > [1] https://code.djangoproject.com/ticke

django 1.6 When creating superuser in cmd.exe, why ask a password for three times?

2014-01-02 Thread
django 1.6.1,python 3.3.3, windows 8. I choose Substituting a custom User model, and everything is ok except creating superuser at the beginning: [image: enter image description here] As you can see, django ask

userena and user-accounts , Which app is better..thanks

2014-01-01 Thread
I am new to django, and now I want to select a offical app to help us to build a email-based accounts system. After some effort, I select the following two apps: django-userena : http://docs.django-userena.org/en/latest/installation.html#installing-django-userena django-user-accounts : http://dj