Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.py 252B

1234567891011
  1. from django.db.models import DateTimeField, Func, UUIDField
  2. class RandomUUID(Func):
  3. template = "GEN_RANDOM_UUID()"
  4. output_field = UUIDField()
  5. class TransactionNow(Func):
  6. template = "CURRENT_TIMESTAMP"
  7. output_field = DateTimeField()