Skip to content

Instantly share code, notes, and snippets.

@lucianoratamero
lucianoratamero / README.md
Last active April 29, 2024 07:08
Using Vite with Django, the simple way

Using Vite with Django, the simple way

Warning

I'm surely not maintaining this as well as I could. There are also other possible, better integrated solutions, like django-vite, so keep in mind this was supposed to be more of a note to myself than anything :]

This gist has most of the things I've used to develop the frontend using vite inside a monolithic django app.

Here's a boilerplate that uses this approach: https://github.com/labcodes/django-react-boilerplate

A couple of things to note:

@yasoob
yasoob / barcode_generator.py
Last active October 26, 2022 13:24
A pure Python Universal Product Code A barcode generator.
import xml.dom
import os
class UPC:
"""
The all-in-one class that represents the UPC-A
barcode.
"""
@marcorichetta
marcorichetta / postgresql-manjaro.md
Last active June 2, 2024 19:31
Install PostgreSQL on Manjaro and set it up for Django