Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-pgfields-HEAD/tests/improved_repr/models.py   django-pgfields(Download)
class Publisher(models.Model):
    name = models.CharField(max_length=50)
    books = models.ManyToManyField(Book)
 
 

src/d/j/django-pgfields-HEAD/tests/composite/tests.py   django-pgfields(Download)
            class CitizenField(models.CompositeField):
                first_name = models.CharField(max_length=20)
                last_name = models.CharField(max_length=30)
                authors = models.ManyToManyField(Author)