Django, Next.js

PyQt -> Django + Next.js

The customer’s computer environment is quite complex, with machines running Windows 7, Windows 10, and Windows 11. Although the PyQt application we developed works on about 90% of these systems, …

Django Views

^: indicating the begin $: indicateing the last [0-9]{4}: 4 characters and each character is 0~9. (?P<by_date>…….), will pass the value as by_date parameter to the view. r preceding the …

Use Docker to help Django Development

if you have pyenv Dockerfile, you can use docker built -t django:latest . to build a docker image. command: docker run –rm -p 8000:8000 -p 3000:3000 -v c:\Users\Fluber\Project\Docker\django\book_django_beginners\:/home/fluber/code -it django:latest …

Dockerfile for pyenv environment

FROM ubuntu:20.04 ENV TZ = Asia\Taipei ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \apt-get install -y \build-essential \libssl-dev \zlib1g-dev \libbz2-dev \libreadline-dev \libsqlite3-dev \wget \curl \llvm \libncurses5-dev \libncursesw5-dev \xz-utils \tk-dev \libffi-dev \liblzma-dev …