1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

PublicTag object is also timestamped

This commit is contained in:
2016-07-25 12:48:49 +02:00
parent f31b4c8d34
commit 5fb22408d0

View File

@@ -173,6 +173,7 @@ class PublicTag(db.Model):
tagkey = CharField()
userkey = CharField()
tag = CharField()
created_date = DateTimeField(default=datetime.datetime.now)
def generate_key(self):
""" Generate hash-based key for publicly shared tag """