Skip to content

Instantly share code, notes, and snippets.

View jacklinke's full-sized avatar
Making new things ✨

Jack Linke jacklinke

Making new things ✨
View GitHub Profile
@jacklinke
jacklinke / cheatsheet.py
Created January 13, 2021 14:41
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,