Skip to content

Instantly share code, notes, and snippets.

@aaronbassett
Created April 13, 2015 11:27
Show Gist options
  • Save aaronbassett/e85f3555b9513643a7d5 to your computer and use it in GitHub Desktop.
Save aaronbassett/e85f3555b9513643a7d5 to your computer and use it in GitHub Desktop.
Basic Django model
# -*- coding: utf-8 -*-
# !important
# Native
# Django
from django.db import models
from django.conf import settings
# 3rd Party
from model_utils.models import TimeStampedModel
from autoslug import AutoSlugField
# Custom
class (TimeStampedModel):
"""
"""
def __unicode__(self):
return u"".format(
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment