mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
This commit is contained in:
committed by
Mariusz Felisiak
parent
36bc47069c
commit
556fa4bbba
@@ -411,9 +411,14 @@ class StumpJoke(models.Model):
|
||||
Character,
|
||||
models.CASCADE,
|
||||
limit_choices_to=today_callable_dict,
|
||||
related_name="+",
|
||||
related_name='jokes',
|
||||
)
|
||||
has_fooled_today = models.ManyToManyField(Character, limit_choices_to=today_callable_q, related_name="+")
|
||||
has_fooled_today = models.ManyToManyField(
|
||||
Character,
|
||||
limit_choices_to=today_callable_q,
|
||||
related_name='jokes_today',
|
||||
)
|
||||
funny = models.BooleanField(default=False)
|
||||
|
||||
|
||||
# Model for #13776
|
||||
|
||||
Reference in New Issue
Block a user