arpit1997 / PQusic

A Music playlist app
http://159.203.216.55:8000/home/
Apache License 2.0
13 stars 1 forks source link

Signup is not working #10

Closed arpit1997 closed 8 years ago

arpit1997 commented 8 years ago

Here is the traceback

None
None
Internal Server Error: /signup/
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/arpit/Projects/MusicWebApp/mysite/MusicApp/views.py", line 100, in user_signup
    user = User.objects.create_user(username, email, passwd, first_name=first_name, last_name=last_name)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/auth/models.py", line 154, in create_user
    return self._create_user(username, email, password, **extra_fields)
  File "/usr/local/lib/python3.4/dist-packages/django/contrib/auth/models.py", line 144, in _create_user
    raise ValueError('The given username must be set')
ValueError: The given username must be set

Correct these errors @vishaln04

When i clicked on login button it shows username nd password did not match without even clicking submit button. Have a look on that

vishaln04 commented 8 years ago

Code updated have a look

arpit1997 commented 8 years ago

bugs are fixed. review the changes and complete. #12 @vishaln04 found bugs: