sbt-idp/cope2n-api/fwd_api/models/Caching.py

9 lines
334 B
Python
Raw Permalink Normal View History

2024-03-05 08:39:51 +00:00
from django.db import models
from django.utils import timezone
from fwd_api.models.Subscription import Subscription
class Caching(models.Model):
id = models.AutoField(primary_key=True)
key = models.CharField(max_length=200, unique=True) # Change to request_id
value = models.JSONField(null=True) # Change to request_id