ipv6-dot-work/users
PCoder 2196390d7a Handle more errors
Internal Server Error: /ipv6/work/signup/
Traceback (most recent call last):
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "./users/views.py", line 19, in signup
    create_user(username, raw_password, first_name, last_name, email)
  File "./users/ldap_funcs.py", line 18, in create_user
    uidNumber = get_max_uid() + 1
  File "./users/ldap_funcs.py", line 79, in get_max_uid
    return int(handler.read())
ValueError: invalid literal for int() with base 10: ''
2019-02-03 14:04:06 +01:00
..
migrations add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
templates/users add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
__init__.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
admin.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
apps.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
forms.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
ldap_funcs.py Handle more errors 2019-02-03 14:04:06 +01:00
models.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
tests.py add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
views.py use signup view rather than redirecting 2018-11-16 19:42:07 +05:45