All Posts Create a Post  
0
votes
109
views
Awesome django books by agiliq.com
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

This awesome django books for refference is also open sourced at https://github.com/agiliq/books Django Admin Cookbook (Django 2.0) Django ORM Cookbook (Django 2.0) Building APIs with Django and Django Rest Framework …

100 1 1 0
0
votes
217
views
Martor 1.2.7 has been released
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

This Martor is one of many plugin for django markdown editor. But in this case, martor still use Semantic UI for the front-end. For the previous version, martor included the …

100 1 1 0
1
votes
298
views
Django Standard API Response Middleware for DRF
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

As you can see, if you using django-rest-framework, you will found many different response format. This middleware to solve all of these problems with implement the Standard API Response. All …

100 1 1 0
0
votes
184
views
Markdown syntax to resize or styling the image
Posted at 1 week, 2 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 …

100 1 1 0
0
votes
108
views
How to custom select language icon in django administration
Posted at 1 week, 2 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 %} …

100 1 1 0
0
votes
124
views
How to setup all raw_id_fields and search_fields for django
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

For example I have this 3 fields as question_set, question and folder. I need to assign all of this fields into raw_id_fields inside the admin.ModelAdmin without add manually per-single fields. …

100 1 1 0
0
votes
310
views
How to automaticly backup your projects into external hardisk in ubuntu?
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

Rsync, which stands for “remote sync”, is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions …

100 1 1 0
0
votes
138
views
How to create Django Language Middleware
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

This example below to setup default language code as id (Indonesian). Your file middleware.py # -*- coding: utf-8 -*- from django.conf import settings from django.utils import translation from django.utils.deprecation import …

100 1 1 0
0
votes
140
views
How to make a notification when terminal process is complete
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

I have started a long process through a terminal. Is it possible to make the Ubuntu terminal make a sound once the process is complete? This way, I don’t need …

100 1 1 0
0
votes
252
views
IDGenerator
Posted at 1 week, 2 days ago / Oct. 11, 2020, 8:04 a.m.

Generate a unique identifier of a specified fixed length consisting of the characters 0-9 and a-z. For example: zcgst5od 9x2zgn0l qa44sp0z 61vv1nl5 umpprkbt ylg4lmcy dec0lu1t 38mhd8i5 rx00yf0e kc2qdc07 Here is …

100 1 1 0
  Page 1 of 10