vadimsadriev / onlinestore Goto Github PK
View Code? Open in Web Editor NEWAttempt to write something on react-redux + django
Attempt to write something on react-redux + django
I follow instructions and fail in migrate command. I am using Python 3.7.4
(venv) C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\onlinestore>python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 21, in
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management\base.py", line 361, in execute
self.check()
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management\base.py", line 390, in check
include_deployment_checks=include_deployment_checks,
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management\commands\migrate.py", line 65, in _run_checks
issues.extend(super()._run_checks(**kwargs))
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\management\base.py", line 377, in run_checks
return checks.run_checks(**kwargs)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\checks\registry.py", line 72, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\urls\resolvers.py", line 398, in check
for pattern in self.url_patterns:
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\utils\functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\urls\resolvers.py", line 579, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\utils\functional.py", line 80, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\urls\resolvers.py", line 572, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\onlinestore\onlinestore\urls.py", line 6, in
path('account/', include('account.urls'))
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\site-packages\django\urls\conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\venv\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\onlinestore\account\urls.py", line 2, in
from .views import Signup, Login, Test
File "C:\Users\tovar\Desktop\OnlineStore\OnlineStore.WebServer\onlinestore\account\views.py", line 6, in
from ..core.viewmodels import ApiResponse
ValueError: attempted relative import beyond top-level package
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.