#8916: admin auth change password not working
----------------------------+-----------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new             |   Milestone:            
Component:  Authentication  |     Version:  1.0       
 Keywords:                  |       Stage:  Unreviewed
Has_patch:  0               |  
----------------------------+-----------------------------------------------
 Trying to access the change password form in auth admin will cause a
 "ValueError"

 Trace is below

 Environment:

 Request Method: GET
 Request URL: http://localhost:8000/admin/auth/user/1/password/
 Django Version: 1.0-final-SVN-unknown
 Python Version: 2.5.0
 Installed Applications:
 ['django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.admin',
  'django.contrib.databrowse',
  'pressDB.press',
  'pressDB.ext']
 Installed Middleware:
 ('django.middleware.common.CommonMiddleware',
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.middleware.doc.XViewMiddleware')


 Traceback:
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/core/handlers/base.py" in get_response
   86.                 response = callback(request, *callback_args,
 **callback_kwargs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/contrib/admin/sites.py" in root
   158.                 return self.model_page(request, *url.split('/', 2))
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/views/decorators/cache.py" in _wrapped_view_func
   44.         response = view_func(request, *args, **kwargs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/contrib/admin/sites.py" in model_page
   177.         return admin_obj(request, rest_of_url)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/contrib/admin/options.py" in __call__
   197.             return self.change_view(request, unquote(url))
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/transaction.py" in _commit_on_success
   238.                 res = func(*args, **kw)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/contrib/admin/options.py" in change_view
   557.             obj = model._default_manager.get(pk=object_id)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/manager.py" in get
   93.         return self.get_query_set().get(*args, **kwargs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/query.py" in get
   297.         clone = self.filter(*args, **kwargs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/query.py" in filter
   483.         return self._filter_or_exclude(False, *args, **kwargs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/query.py" in _filter_or_exclude
   501.             clone.query.add_q(Q(*args, **kwargs))
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/sql/query.py" in add_q
   1224.                             can_reuse=used_aliases)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/sql/query.py" in add_filter
   1167.         self.where.add((alias, col, field, lookup_type, value),
 connector)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/sql/where.py" in add
   48.                 params = field.get_db_prep_lookup(lookup_type,
 value)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/fields/__init__.py" in get_db_prep_lookup
   202.             return [self.get_db_prep_value(value)]
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /site-packages/django/db/models/fields/__init__.py" in get_db_prep_value
   353.         return int(value)

 Exception Type: ValueError at /admin/auth/user/1/password/
 Exception Value: invalid literal for int() with base 10: '1/password'

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8916>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to