Comments (3)
上述问题已经解决 运行之前同步一下数据库 python manage.py syncdb
新问题
41 | 主页
NoReverseMatch at /
u'app' is not a registered namespace
from blog.
1 a class="navbar-brand" href=" {% url 'app:index' %}
from blog.
ERROR 2018-03-20 15:35:31,282 base 14216 14856 Internal Server Error: /
Traceback (most recent call last):
File "E:\Python27\lib\site-packages\django\core\handlers\base.py", line 164, in get_response
response = response.render()
File "E:\Python27\lib\site-packages\django\template\response.py", line 158, in render
self.content = self.rendered_content
File "E:\Python27\lib\site-packages\django\template\response.py", line 135, in rendered_content
content = template.render(context, self._request)
File "E:\Python27\lib\site-packages\django\template\backends\django.py", line 74, in render
return self.template.render(context)
File "E:\Python27\lib\site-packages\django\template\base.py", line 209, in render
return self._render(context)
File "E:\Python27\lib\site-packages\django\template\base.py", line 201, in _render
return self.nodelist.render(context)
File "E:\Python27\lib\site-packages\django\template\base.py", line 903, in render
bit = self.render_node(node, context)
File "E:\Python27\lib\site-packages\django\template\debug.py", line 79, in render_node
return node.render(context)
File "E:\Python27\lib\site-packages\django\template\loader_tags.py", line 135, in render
return compiled_parent._render(context)
File "E:\Python27\lib\site-packages\django\template\base.py", line 201, in _render
return self.nodelist.render(context)
File "E:\Python27\lib\site-packages\django\template\base.py", line 903, in render
bit = self.render_node(node, context)
File "E:\Python27\lib\site-packages\django\template\debug.py", line 79, in render_node
return node.render(context)
File "E:\Python27\lib\site-packages\django\template\defaulttags.py", line 507, in render
six.reraise(*exc_info)
File "E:\Python27\lib\site-packages\django\template\defaulttags.py", line 493, in render
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)
File "E:\Python27\lib\site-packages\django\core\urlresolvers.py", line 575, in reverse
key)
NoReverseMatch: u'app' is not a registered namespace
from blog.
Related Issues (16)
- 下载程序后,运行报报错 HOT 1
- Exception Value: Invalid template library specified. ImportError raised when trying to load 'bootstrap3.templatetags.bootstrap3': cannot import name flatatt
- 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
- 你的requirements 下的dev.txt pymysql "=="少写了一个 HOT 1
- 大神是怎么学习django的 给新手一些建议好吗 谢谢 HOT 1
- bugs HOT 1
- 怎么没有数据库还有登陆校验 HOT 6
- 请问哪里有表数据 HOT 2
- cache_page(60*15)这种使用redis的方式能不能解释下? 这么设置后,redis 查看key ,发现并没有相应的key. HOT 3
- 关于markwown HOT 1
- 前端框架 HOT 1
- ModuleNotFoundError: No module named 'celery' HOT 1
- 表结构 HOT 1
- 无法安装 HOT 1
- About to the import Errors and something HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.