Last active
May 28, 2017 16:00
-
-
Save lozadaOmr/ff7e4586d6a91bb9cb60fba51a90c6da to your computer and use it in GitHub Desktop.
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
from django.db import models | |
class Me(models.Model): | |
good_qualities = ['nice'] | |
def good_stuff(self): | |
return self.good_qualities | |
class Meta: | |
abstract = True | |
verbose_name = "that guy" | |
class Someone_Else_Not(Me): | |
name = models.CharField(max_length=255) | |
class Meta: | |
verbose_name = "probably the one" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment