10 lines
231 B
Python
10 lines
231 B
Python
from django.db import models
|
|
|
|
|
|
class CacheTable(models.Model):
|
|
key = models.CharField(max_length=50, unique=True)
|
|
value = models.CharField(max_length=400)
|
|
|
|
def __str__(self):
|
|
return f'{self.key} # {self.value}'
|