mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
1
tests/cache/models.py
vendored
1
tests/cache/models.py
vendored
@@ -7,6 +7,7 @@ def expensive_calculation():
|
||||
expensive_calculation.num_runs += 1
|
||||
return timezone.now()
|
||||
|
||||
|
||||
class Poll(models.Model):
|
||||
question = models.CharField(max_length=200)
|
||||
answer = models.CharField(max_length=200)
|
||||
|
||||
Reference in New Issue
Block a user