Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

Django

  1. Home>
  2. Programming>
  3. Python>
  4. Django>
  5. Page 2

Celery with RabbitMQ on Docker

  • Post author:Van Ly
  • Post published:2023-09-04
  • Post category:Celery/Django/Docker/Programming/Python

Picking up from Django app template w/ Docker, here are the steps to add Celery to the Django app. Add RabbitMQ as the message queue Modify docker-compose.yml to include: services:…

Continue ReadingCelery with RabbitMQ on Docker

Sentry on Django

  • Post author:Van Ly
  • Post published:2023-08-04
  • Post category:Django/Programming/Python/Sentry

Sentry is one of those things that most companies use, but most people (or maybe just I) don't really know how to use it. The way I learn these things…

Continue ReadingSentry on Django

Django app template w/ Docker

  • Post author:Van Ly
  • Post published:2023-04-22
  • Post category:Django/Docker/Programming/Python

Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…

Continue ReadingDjango app template w/ Docker

Wagtail in Docker

  • Post author:Van Ly
  • Post published:2022-07-31
  • Post category:Django/Docker/Programming/Python/Windows

Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…

Continue ReadingWagtail in Docker

Django I18N on Windows

  • Post author:Van Ly
  • Post published:2021-06-02
  • Post category:Django/i18n/Programming

Concise run book on I18N to get things started Prerequisite Know the difference between locale name and language name: Locale name: <language code>_<COUNTRY CODE> (examples: "en_US", "fr_CA"), case sensitive.Language name:…

Continue ReadingDjango I18N on Windows

Django Dev Env w/ Docker Compose

  • Post author:Van Ly
  • Post published:2020-06-17
  • Post category:Django/Docker/PostreSQL/Programming

A few years back I ran into a problem when working with Django on Windows while my colleagues were on Mac OS where a datetime routine (forgot which one) behaved…

Continue ReadingDjango Dev Env w/ Docker Compose

Django app dev in Docker

  • Post author:Van Ly
  • Post published:2020-01-26
  • Post category:Django/Docker/Programming

Start with Docker's doc The link https://docs.docker.com/compose/django/ for the most part is valid in setting up a development environment for working with Django in Docker. Update to use Pipfile The…

Continue ReadingDjango app dev in Docker
  • Go to the previous page
  • 1
  • 2
  • 3
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP