Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Lee Hinde
Thanks. On Fri, Apr 19, 2013 at 4:41 AM, Paul Walsh wrote: > These are the changes you'll have to make to django-registration, if you > are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser: > > > https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d9

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
These are the changes you'll have to make to django-registration, if you are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser: https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d912882e50e295adc55 On Friday, 19 April 2013 11:52:55 UTC+3, Paul Wals

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
James Bennet says above that it is compatible, but the latest django-registration code is not compatible with custom user models. RegistrationProfile, for example, still refers directly to User, whereas the new custom user implementation in Django 1.5 require this to be changed in order to work

Re: Django-Registration/Custom Authentication Issue

2013-04-17 Thread Scott Anderson
That's good to know. How stable is it? -scott Via mobile phone On Apr 17, 2013, at 3:52 AM, James Bennett wrote: Current hg tip is actually 1.5-compatible, in the sense that if you want to use your own User model, you just subclass the provided stuff and plug in your model, either importing di

Re: Django-Registration/Custom Authentication Issue

2013-04-17 Thread James Bennett
Current hg tip is actually 1.5-compatible, in the sense that if you want to use your own User model, you just subclass the provided stuff and plug in your model, either importing directly or using the helper function in Django 1.5. django-registration does not do this itself because 1. Using Djan

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Lee Hinde
Thanks Scott; that turned out to be the issue. I found those references and updated them and all is well. On Apr 16, 2013, at 7:05 PM, Scott Anderson wrote: > Django registration is not compatible with custom user models in Django 1.5, > as it directly references django.contrib.auth.models.Use

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Scott Anderson
Django registration is not compatible with custom user models in Django 1.5, as it directly references django.contrib.auth.models.User in several places. If you want to maintain your own copy you can swap those refs for those of your own User model. -scott Via mobile phone On Apr 16, 2013, at 9

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Rainy
On Sunday, April 14, 2013 9:49:32 PM UTC-4, Lee Hinde wrote: > > I'm trying to do a 'simple' registration with just a user email and > password required to create an account. I'm using django-registration with > django 1.5.1 and have created a custom model and the custom model manager. > > I