Skip to content

Instantly share code, notes, and snippets.

View aybruhm's full-sized avatar
🪐
"Freedom, anonymity, and a world free from oppression."

Abram (o_O)7 aybruhm

🪐
"Freedom, anonymity, and a world free from oppression."
  • Earth, Orion Arm, Milky Way, Laniakea.
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,