1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #29799 -- Allowed registering lookups per field instances.

Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring
this Google Summer of Code 2022 project.
This commit is contained in:
Allen Jonathan David
2022-06-23 12:02:53 +05:30
committed by Mariusz Felisiak
parent fdf0f62521
commit cd1afd553f
7 changed files with 151 additions and 37 deletions

View File

@@ -3,6 +3,7 @@ from django.db import models
class Author(models.Model):
name = models.CharField(max_length=20)
alias = models.CharField(max_length=20)
age = models.IntegerField(null=True)
birthdate = models.DateField(null=True)
average_rating = models.FloatField(null=True)