All Posts Create a Post  
0
votes
112
views
How to custom select language icon in django administration
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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 %} …

101 1 1 0
0
votes
188
views
Markdown syntax to resize or styling the image
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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: ![image-alt](drawing.jpg){height=100px} or ![image-alt](drawing.jpg){style="border: 1px solid;height:100px"} result …

101 1 1 0
0
votes
122
views
Django: How to Include Templates from another APP
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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 …

101 1 1 0
0
votes
152
views
Django: Dinamic path url by name in templates
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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 …

101 1 1 0
0
votes
141
views
Django: Simple User Authentication Login and Logout
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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 …

101 1 1 0
0
votes
139
views
How to minify HTML output in Django
Posted at 2 weeks, 5 days ago / Oct. 11, 2020, 8:04 a.m.

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 …

101 1 1 0