Hi all,
I've installed all the requirements updated to the last version. While doing 'Create the MovieGEEKS databases' with command:
python3 manage.py makemigrations, I got this error:
File "/Users/michele/moviegeek/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/init.py", line 425, in execute_from_command_line
utility.execute()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 373, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 412, in execute
self.check()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 438, in check
all_issues = checks.run_checks(
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/registry.py", line 77, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 446, in check
for pattern in self.url_patterns:
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 632, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 625, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/michele/moviegeek/prs_project/urls.py", line 2, in
from django.conf.urls import url, include
ImportError: cannot import name 'url' from 'django.conf.urls' (/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/conf/urls/init.py)
Sorry for the long response time. I believe that this should have been fixed with the merge I just did. Please let me know if you still have this problem
Hi all, I've installed all the requirements updated to the last version. While doing 'Create the MovieGEEKS databases' with command: python3 manage.py makemigrations, I got this error:
File "/Users/michele/moviegeek/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/init.py", line 425, in execute_from_command_line
utility.execute()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 373, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 412, in execute
self.check()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/management/base.py", line 438, in check
all_issues = checks.run_checks(
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/registry.py", line 77, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method()
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 446, in check
for pattern in self.url_patterns:
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 632, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/urls/resolvers.py", line 625, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/michele/moviegeek/prs_project/urls.py", line 2, in
from django.conf.urls import url, include
ImportError: cannot import name 'url' from 'django.conf.urls' (/Users/michele/moviegeek/prs/lib/python3.9/site-packages/django/conf/urls/init.py)
Appreciate if you can help. Thanks.
M.