The ipv6.work project
506679b8a0
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 38, in create_user set_max_uid(uidNumber) File "./users/ldap_funcs.py", line 68, in set_max_uid handler.write(max_uid) TypeError: write() argument must be str, not int |
||
---|---|---|
ipv6work | ||
jobs | ||
templates/registration | ||
users | ||
.dockerignore | ||
.env.sample | ||
.gitignore | ||
CHANGELOG.md | ||
Dockerfile | ||
manage.py | ||
README.md | ||
requirements.txt | ||
uwsgi.ini.sample |
ipv6-dot-work
The ipv6.work project
Notes
django-auth-ldap requires openldap-devel
Deployment
docker build -t ipv6dotwork .
sudo docker rm -f ipv6dotwork
sudo docker run -d -p 127.0.0.1:8001:8000 --env-file .env --name ipv6dotwork ipv6dotwork