Open in app

Sign In

Write

Sign In

Adi Ramadhan
Adi Ramadhan

51 Followers

Home

About

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


Jun 24, 2022

Django Taggit: Model Tag, Admin and Filtering

Django Taggit, model tag, registered in admin, and filtering, with bootstrap. Official docs django-taggit. Project structure. templates folder, base.html, articles.html, myapp/urls.py files are manually created, other files are auto-generated.

Django

3 min read

Django Taggit: Model Tag, Admin and Filtering
Django Taggit: Model Tag, Admin and Filtering
Django

3 min read


Jun 20, 2022

Django Filter

A library like django form to filter queryset. Official docs django-filter. Project file structure. templates folder, base.html, books.html, myapp/filters, myapp/urls.py files are manually created (new files), other files are auto-generated.

Django

2 min read

Django Filter
Django Filter
Django

2 min read


Published in

Towards Dev

·Jun 15, 2022

Django Form Validation with Bootstrap

Django Form Validation with Bootstrap style. Django form official docs here. Bootstrap validation reference here. Project structure. templates folder, base.html, home.html, success.html, myapp/urls.py files are manually created (new files), other files are auto-generated.

Django

2 min read

Django Form Validation with Bootstrap
Django Form Validation with Bootstrap
Django

2 min read

Adi Ramadhan

Adi Ramadhan

51 Followers

Software Engineer, Indonesia

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams