0👍
✅
I suspected you were using a tutorial, so after googling dbe.blog tutorial
I found this site. if that’s what you are using, then I’m guessing the lines that refer to dbe.blog
should, in your case, refer to firstblog
. So from dbe.blog import ...
should be from firstblog import ...
. In your templates the same applies to the url tag
<a href="{% url dbe.blog.views.main %}" >Back to Blog Frontpage </a>
should be
<a href="{% url firstblog.views.main %}" >Back to Blog Frontpage </a>
1👍
Seems like you’ve added ‘”dbe.blog” to installed apps setting, try “blog” instead.
EDIT:
@vikki has a good point, so maybe you should give us full traceback.
- [Answer]-Apache to serve Django Server Error (500)
- [Answer]-Simulating an inner join with django's orm and no explicit foreign key
- [Answer]-Heroku django collectstatic error
- [Answer]-Mongoengine query to return matching elements from an array of the same document in a collection
Source:stackexchange.com