You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\ay939\Desktop\Bona-Blog\manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management_init_.py", line 446, in execute_from_command_line
utility.execute()
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management_init_.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 414, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 460, in execute
output = self.handle(*args, **options)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 98, in wrapped
res = handle_func(*args, **kwargs)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\commands\migrate.py", line 91, in handle
self.check(databases=[database])
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 487, in check
all_issues = checks.run_checks(
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\urls.py", line 24, in check_resolver
return check_method()
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 480, in check
for pattern in self.url_patterns:
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\utils\functional.py", line 49, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 696, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\utils\functional.py", line 49, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 689, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\ay939\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\ay939\Desktop\Bona-Blog\bona_blog\urls.py", line 27, in
path('', include('blog.urls', namespace='blog')), # Urls for article app.
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
File "C:\Users\ay939\AppData\Local\Programs\Python\Python310\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\ay939\Desktop\Bona-Blog\blog\urls.py", line 47, in
from blog.views.account.register_view import
File "C:\Users\ay939\Desktop\Bona-Blog\blog\views\account\register_view.py", line 2, in
from django.utils.encoding import force_bytes, force_text
ImportError: cannot import name 'force_text' from 'django.utils.encoding'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "C:\Users\ay939\Desktop\Bona-Blog\manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management_init_.py", line 446, in execute_from_command_line
utility.execute()
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management_init_.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 414, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 460, in execute
output = self.handle(*args, **options)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 98, in wrapped
res = handle_func(*args, **kwargs)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\commands\migrate.py", line 91, in handle
self.check(databases=[database])
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\management\base.py", line 487, in check
all_issues = checks.run_checks(
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\core\checks\urls.py", line 24, in check_resolver
return check_method()
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 480, in check
for pattern in self.url_patterns:
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\utils\functional.py", line 49, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 696, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\utils\functional.py", line 49, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\resolvers.py", line 689, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\ay939\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\ay939\Desktop\Bona-Blog\bona_blog\urls.py", line 27, in
path('', include('blog.urls', namespace='blog')), # Urls for article app.
File "C:\Users\ay939.virtualenvs\Bona-Blog-NoO3Iw0g\lib\site-packages\django\urls\conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
File "C:\Users\ay939\AppData\Local\Programs\Python\Python310\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\ay939\Desktop\Bona-Blog\blog\urls.py", line 47, in
from blog.views.account.register_view import
File "C:\Users\ay939\Desktop\Bona-Blog\blog\views\account\register_view.py", line 2, in
from django.utils.encoding import force_bytes, force_text
ImportError: cannot import name 'force_text' from 'django.utils.encoding'
The text was updated successfully, but these errors were encountered: