Skip to content

Tag: templates

get mongodb “_id” in django template

My question is related to this question. I am trying to display all the _id of mongo database in django template from last 2 days but unable to get it. This is the error: This is the code I am trying: views.py product.html Though, I tried changing the name to static, cache etc, but still no luck. Answer templ…

How to change django wagtail’s admin logo

I am working on a small project and I thought I’d give wagtail a try. I am now wondering how I could change wagtail’s admin logo in the sidebar (top left image on the picture bellow). I could change /static/wagtailadmin/images/wagtail-logo.svg directly but it’d be wrong ;). Answer Wagtail al…