All Posts Create a Post
How to custom select language icon in django administration
1. Add the base_site file inside templates/admin/base_site.html. {% extends "admin/base.html" %} {% load static i18n %} {% block title %}{{ title }} | {{ site_title|default:_('Situs django admin') }}{% endblock %} …
Markdown syntax to resize or styling the image
This case was issued by muradaliyev88 in django-markdown-editor repository. as answered by rudolfbyker If you are writing MarkDown for PanDoc, you can do this: {height=100px} or {style="border: 1px solid;height:100px"} result …
Django: How to Include Templates from another APP
Django is awesome, was designed with folder of templates to find all templates was include in your app. If you work with multiple app in your project, you just create …
Django: Dinamic path url by name in templates
Hello there, this time i just wanna show how to use a dinamic path url in templates django. Before it, this hasbeen asked and aswered by someone in stackoverflow. There …
Django: Simple User Authentication Login and Logout
Django: Simple User Authentication Login and Logout. This problem hasbeen asked with someone in in https://www.facebook.com/groups/DjangoID/, he asked “how to custom template of login form in django”. First, makesure you …
How to minify HTML output in Django
So, you want to compress the size of the HTML that Django generates? Here is the Django way to do it. In order to do this, you’ll have to write …