Created
April 13, 2015 11:27
-
-
Save aaronbassett/e85f3555b9513643a7d5 to your computer and use it in GitHub Desktop.
Basic Django model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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