after running the create superuser command in bash , its asking the credentials and then this error is showing!
Traceback (most recent call last):
File "manage.py", line 20, in <module>
main()
File "manage.py", line 16, in main
execute_from_command_line(sys.argv)
File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 61, in execute
return super().execute(*args, **options)
File "/usr/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 156, in handle
self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/models.py", line 162, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/models.py", line 144, in _create_user
user.set_password(password)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/base_user.py", line 98, in set_password
self.password = make_password(raw_password)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/hashers.py", line 78, in make_password
return hasher.encode(password, salt)
File "/usr/lib/python3.8/site-packages/django/contrib/auth/hashers.py", line 417, in encode
return "%s$%s" % (self.algorithm, data.decode('ascii'))
AttributeError: 'str' object has no attribute 'decode'