Here's the traceback from my local dev instance: Environment: Request Method: GET Request URL: http://localhost:8000/device-removal/+logout Django Version: 1.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django_openid_auth', 'identityprovider', 'django_configglue', 'oauth_backend', 'preflight', 'gargoyle', 'nexus', 'saml2idp', 'adminaudit', 'raven.contrib.django', 'devserver', 'django_jenkins'] Installed Middleware: ['raven.contrib.django.middleware.SentryResponseErrorIdMiddleware', 'identityprovider.middleware.time.TimeMiddleware', 'identityprovider.middleware.dbfailover.DBFailoverMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'identityprovider.middleware.useraccount.UserAccountConversionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'identityprovider.middleware.exception.LogExceptionMiddleware', 'raven.contrib.django.middleware.Sentry404CatchMiddleware'] Traceback: File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/decorators.py" in _wrapped_view 68. return view_func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/gargoyle-0.7.2-py2.7.egg/gargoyle/decorators.py" in wrapped 26. return func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/views/utils.py" in wrapper 23. return fn(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/views/devices.py" in device_removal 238. id=device_id, account=request.user) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/shortcuts/__init__.py" in get_object_or_404 113. return queryset.get(*args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in get 341. clone = self.filter(*args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in filter 550. return self._filter_or_exclude(False, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in _filter_or_exclude 568. clone.query.add_q(Q(*args, **kwargs)) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/query.py" in add_q 1172. can_reuse=used_aliases, force_having=force_having) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/query.py" in add_filter 1107. connector) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/where.py" in add 67. value = obj.prepare(lookup_type, value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/where.py" in prepare 316. return self.field.get_prep_lookup(lookup_type, value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/fields/__init__.py" in get_prep_lookup 292. return self.get_prep_value(value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/fields/__init__.py" in get_prep_value 479. return int(value) Exception Type: ValueError at /device-removal/+logout Exception Value: invalid literal for int() with base 10: '+logout'