Open in app

Sign in

Write

Sign in

Adi Ramadhan
Adi Ramadhan

66 Followers

Home

About

Nov 20

Django Update Multiple Records with Selected Checkbox Using HTMX

References: django, bootstrap, htmx. Step 1: Preparation, Create Django Project, Inital Migration create virtualenv: virtualenv venv start virtualenv: venv/Scripts/activate install Django in virtualenv: pip install django==4.2 Create Django: django-admin startproject myproject Go to myproject folder: cd myproject Initial Migration: python manage.py migrate Step 2: Create Django Apps Create apps: python manage.py…

Django

5 min read

Django Update Multiple Records with Selected Checkbox Using HTMX
Django Update Multiple Records with Selected Checkbox Using HTMX
Django

5 min read


Aug 26

Django Email Login (instead of using username)

by default, django use username to login. For some case, using email is better than username (most user remember email rather than username). Important: email need to be unique to support this login mechanism. Step 1: Preparation, Create Django Project create virtualenv: virtualenv venv start virtualenv: venv/Scripts/activate install Django in virtualenv: pip install…

Django

2 min read

Django Email Login (instead of using username)
Django Email Login (instead of using username)
Django

2 min read


Jul 15

Django CRUD with Bootstrap Modal Form with HTMX

Django CRUD with bootstrap modal form with HTMX, include the validation. No leaving current page.

Django

6 min read

Django CRUD with Bootstrap Modal Form with HTMX
Django CRUD with Bootstrap Modal Form with HTMX
Django

6 min read


May 22

Django Debug Toolbar: Helper for django developers

Showing History, versions, time, settings, and other helpful information for django developer. Official docs django-debug-toolbar

Django

2 min read

Django Debug Toolbar: Helper for django developers
Django Debug Toolbar: Helper for django developers
Django

2 min read


Apr 9

Django Gunicorn with Nginx in Docker

Official docs of django and docker Prerequisite: python and docker installed Project Structure:

Django

4 min read

Django Gunicorn with Nginx in Docker
Django Gunicorn with Nginx in Docker
Django

4 min read


Feb 16

Running Django App Image in Docker

Simple Django Apps Image in Docker. Official docs of django and docker. Prerequisite: python and docker installed. Step 1: Preparation, Create Django Project, Inital Migration create virtualenv: virtualenv venv start virtualenv: venv/Scripts/activate install Django in virtualenv: pip install django==3.2 Create Django: django-admin startproject myproject Go to myproject folder: cd myproject Initial Migration: python manage.py migrate…

Django

2 min read

Running Django App Image in Docker
Running Django App Image in Docker
Django

2 min read


Published in

DevOps.dev

·Jan 29

Django Run Asynchronous Tasks with Celery and RabbitMQ

It is strongly recommended for long running tasks (processes), it will reduce user waiting time and tasks will be executed as background processes. Official Docs: Django, RabbitMQ, Celery Prerequisite: RabbitMQ Server (localhost, heroku or other rabbitmq server) running as message broker. Step 1: Preparation, Create Django Project create virtualenv: virtualenv venv start…

Django

3 min read

Django Run Asynchronous Tasks with Celery and RabbitMQ
Django Run Asynchronous Tasks with Celery and RabbitMQ
Django

3 min read


Jan 28

Python Celery Asynchronous Tasks with RabbitMQ Broker

Running asynchronous task with Celery Worker and RabbitMQ. It strongly recommended for long running tasks. Prerequisite: RabbitMQ Server (localhost, heroku or other rabbitmq server) Step 1: Preparation create virtualenv: virtualenv venv start virtualenv: venv/Scripts/activate install celery in virtualenv: pip install celery sqlalchemy eventlet Create App Folder: mkdir app Go to myproject folder: cd app…

Python

2 min read

Python Celery Asynchronous Tasks with RabbitMQ Broker
Python Celery Asynchronous Tasks with RabbitMQ Broker
Python

2 min read


Jan 26

Fake Backend API using JSON Server

Simple Fake Backend using JSON Server. Official docs Preparation Install via npm: npm install -g json-server Create db.json file { "users": [ { "id": 1, "username": "user1", "password": "password" }, { "id": 2, "username": "user2", "password": "password" } ] } Run via terminal/CMD json-server --watch db.json

Json Server

2 min read

Fake Backend API using JSON Server
Fake Backend API using JSON Server
Json Server

2 min read


Oct 28, 2022

Django Admin Pagination

Django Admin Model List with Pagination. Using list_per_page in admin.py Project file structure

Django

2 min read

Django Admin Pagination
Django Admin Pagination
Django

2 min read

Adi Ramadhan

Adi Ramadhan

66 Followers

Software Engineer, Indonesia

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams