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
请教大神,执行python manage.py makemigrations blog,出现下列错误是什么情况?
File "/root/blog/django-blog/django_blog/urls.py", line 22, in
url(r'^blog/', include('blog.urls', namespace='blog')),
File "/root/blog/venv/lib/python2.7/site-packages/django/conf/urls/init.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module import(name)
File "/root/blog/django-blog/blog/urls.py", line 25, in
url(r'^getComment/$', views.GetComment, name='get_comment'),
AttributeError: 'module' object has no attribute 'GetComment'
The text was updated successfully, but these errors were encountered:
请教大神,执行python manage.py makemigrations blog,出现下列错误是什么情况?
File "/root/blog/django-blog/django_blog/urls.py", line 22, in
url(r'^blog/', include('blog.urls', namespace='blog')),
File "/root/blog/venv/lib/python2.7/site-packages/django/conf/urls/init.py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/root/blog/django-blog/blog/urls.py", line 25, in
url(r'^getComment/$', views.GetComment, name='get_comment'),
AttributeError: 'module' object has no attribute 'GetComment'
The text was updated successfully, but these errors were encountered: