Home > other >  O solve this error for help!!!!!
O solve this error for help!!!!!

Time:09-25

When running Django, quote us such a pile of runserver then executes, read online similar mistakes of various environment variables what tried to or
No, I don't know what is wrong,,,

Exception in the thread django -- the main thread:
Traceback (the most recent call last) :
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ threading py", line 926, in _bootstrap_inner
The self. The run ()
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ threading py", line 870, in the run
Self. _target (, * * * self. _args self. _kwargs)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django \ utils \ autoreload py", 53, line wrapper in
Fn (* args, * * kwargs)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django/core/management/commands \ runserver then executes py", line 117, in inner_run
The self (the display_num_errors=True)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django \ core \ management \ base py", line 395, check in
Include_deployment_checks=include_deployment_checks,
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django \ core \ management \ base py", line 382, in _run_checks
The return checks. Run_checks (* * kwargs)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django \ core, checks, registry. Py", line 72, in run_checks
New_errors=check (app_configs=app_configs)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django \ core, checks, urls. Py", line 13, in check_url_config
Return check_resolver (resolver)
File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django \ core, checks, urls. Py", line 23, in check_resolver
Return check_method ()
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django, urls, resolvers. Py", line 407, check in
For the pattern in the self. Url_patterns:
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django \ utils \ functional py", 48, the line in __get__
Res=instance. __dict__ [self. The name]=self. The func (instance)
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django, urls, resolvers. Py", line 588, in url_patterns
Patterns=getattr (self. Urlconf_module, "urlpatterns", the self urlconf_module)
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ django \ utils \ functional py", 48, the line in __get__
Res=instance. __dict__ [self. The name]=self. The func (instance)
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, django, urls, resolvers. Py", line 581, in urlconf_module
Return import_module (self urlconf_name)
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ importlib \ set py", line 127, in import_module
Return _bootstrap. _gcd_import (name [level:], package, level)
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 1006, in _gcd_import
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 983, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 967, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 677, in _load_unlocked
The File "& lt; Frozen importlib. _bootstrap_external & gt;" , line 728, in exec_module
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 219, in _call_with_frames_removed
The File "D: \ Documents \ Django \ dailyfresh \ dailyfresh \ urls py", line 23, in & lt; module>
Url (r '^ user/', include ((' user. Urls',' user '), the namespace='user')),
File "D: \ \ Program Files \ Anaconda3 (x86) - packages \ django \ \ lib \ site urls \ conf py", 34, the line in the include
Urlconf_module=import_module (urlconf_module)
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ importlib \ set py", line 127, in import_module
Return _bootstrap. _gcd_import (name [level:], package, level)
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 1006, in _gcd_import
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 983, in _find_and_load
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 967, in _find_and_load_unlocked
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 677, in _load_unlocked
The File "& lt; Frozen importlib. _bootstrap_external & gt;" , line 728, in exec_module
The File "& lt; Frozen importlib. _bootstrap & gt;" , line 219, in _call_with_frames_removed
The File "D: \ Documents \ Django \ dailyfresh \ apps \ user \ urls py", line 3, the in & lt; module>
The from user import views
The File "D: \ Documents \ Django \ dailyfresh \ apps \ user \ views. Py", line 11, the in & lt; module>
The from celery_tasks. The tasks the import send_register_active_email
The File "D: \ Documents \ Django \ dailyfresh \ celery_tasks \ tasks py", line 1, the in & lt; module>
The from celery import celery
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ celery \ local py", line 509, in __getattr__
The module=__import__ (self. _object_origins [name], None, None, [name])
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, celery, app, just set py", line 5, in & lt; module>
The from celery import _state
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages \ celery \ _state py", line 17, in & lt; module>
The from celery. Utils. Threads import LocalStack
The File "D: \ \ Program Files \ (x86) Anaconda3 \ lib \ site - packages, celery, utils, set py", line 18, in & lt; module>
From the log import LOG_LEVELS
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related