Skip to content

Commit

Permalink
Update model_cookie_policy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Dec 2, 2024
1 parent a7cfdfc commit 9eeea54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/swing_cookie/models/model_cookie_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ class CookiePolicy(models.Model):
"""

version = models.CharField(max_length=50, unique=True, help_text=_("The version of the cookie policy."))

content = models.TextField(help_text=_("The content of the cookie policy."))

created_at = models.DateTimeField(auto_now_add=True, help_text=_("The timestamp when the policy was created."))

updated_at = models.DateTimeField(auto_now=True, help_text=_("The timestamp when the policy was last updated."))

class Meta:
Expand Down

0 comments on commit 9eeea54

Please sign in to comment.