Created
January 4, 2017 16:36
-
-
Save ddahan/32da25444d6ab554e08ce035bb6fe0f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class Event(TimeStampedModel): | |
''' Classe abstraite servant de base aux modèles ScanEvent et | |
UseRewardEvent. N'est pas représenté en base puisqu'abstrait. ''' | |
is_cancelled = models.BooleanField(default=False) | |
# ... autres attributs communs | |
class Meta: | |
abstract = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment