diff --git a/django_lostplaces/lostplaces/models/models.py b/django_lostplaces/lostplaces/models/models.py index 16b53da..cbdfb66 100644 --- a/django_lostplaces/lostplaces/models/models.py +++ b/django_lostplaces/lostplaces/models/models.py @@ -41,11 +41,13 @@ def save_user_profile(sender, instance, **kwargs): class Voucher(Expireable): """ - Vouchers are authorization to created_when = models.DateTimeField(auto_now_add=True) - expires_when = models.DateTimeField()kens to allow the registration of new users. + Vouchers are authorization tokens to allow the registration of new users. A voucher has a code, a creation and a deletion date, which are all positional. Creation date is being set automatically during voucher creation. + + created_when = models.DateTimeField(auto_now_add=True) + expires_when = models.DateTimeField() """ code = models.CharField(unique=True, max_length=30)