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

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

Django’s (default) Permission Codenames

  • Post author:Van Ly
  • Post published:2019-05-27
  • Post category:Django/Programming

Permission String The documentation for Django authentication (e.g. https://docs.djangoproject.com/en/2.2/topics/auth/default/#permissions-and-authorization) talks about allowing code to restrict access to models through a vague notion of a "permission." Read further and you kinda…

Continue ReadingDjango’s (default) Permission Codenames
  • Go to the previous page
  • 1
  • 2
  • Author.instance().info()
  • Docker Starters
  • Patience-impaired Navigation
Copyright - WordPress Theme by OceanWP