Skip to content

Instantly share code, notes, and snippets.

Maxime Lavoie maxthevoice

Block or report user

Report or block maxthevoice

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jrobichaud /
Last active May 22, 2018
An attempt to create a class naming style for django


Django code style is well documented however the documentation has no statement on how to name classes. When digging the documentation we can find various examples that does not follow an obvious standard.

Abstract base class documentation

from django.db import models

class CommonInfo(models.Model):
    name = models.CharField(max_length=100)
    age = models.PositiveIntegerField()
You can’t perform that action at this time.