Hey Eric -- Can you post the full traceback instead of just the snippet? Without that it's not clear whether this is a bug or just a consequence of defining your own custom user model. As the documentation notes:
""" As you may expect, built-in Django's forms and views make certain assumptions about the user model that they are working with. If your user model doesn't follow the same assumptions, it may be necessary to define a replacement form, and pass that form in as part of the configuration of the auth views. """ So it might be the case that you just need to be customizing more stuff to deal with your special model. Or not, but we probably need more info to decide either way. Jacob Jacob On Tue, Nov 6, 2012 at 12:43 PM, Eric Hutchinson <[email protected]> wrote: > I've been playing with custom user models. Something i've found is that > trying to use the django-extensions uuidfield as a primary key doesn't seem > very usable at the moment. > > Many of the built in auth views, specifically password reset, assume an > integer field here. > > /lib/python2.7/site-packages/django/utils/http.py", line 187, in > int_to_base36 > raise TypeError("Non-integer base36 conversion input.") > TypeError: Non-integer base36 conversion input. > > > Also, in the admin when creating a new user with the example admin setup > from the docs, even though it would seem to have no reason to i get it > trying to redirect to /app/model/(integer)/ when the id is clearly a uuid. > > I know this isn't that helpful, but I don't know if this is just something > you might want to warn about in the docs, or if this is something you want > to fix in the built-in auth views, or what. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-developers/-/VHk_gOF8DmEJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
