DjangoΒΆ

These are just things I always find myself looking up, so I try to make some notes of the most important parts that I can refer back to.

Contents:

Misc to file:

Avoid circular imports:

from django.db.models import get_model
MyModel = get_model('applabel', 'mymodelname'.lower())