Skip to content

Instantly share code, notes, and snippets.

View aybruhm's full-sized avatar
🚂
Continuous Improvement (改善)

Abram aybruhm

🚂
Continuous Improvement (改善)
View GitHub Profile
@aybruhm
aybruhm / cheatsheet.py
Created April 14, 2021 14:47 — forked from jacklinke/cheatsheet.py
Django models cheatsheet
import uuid
from django.db import models
# Use the import below instead, if using GeoDjango fields
# from django.contrib.gis.db import models
from django.utils.translation import ugettext_lazy as _
from django.contrib.postgres.fields import (
ArrayField,
CICharField,
CIEmailField,