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

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

src/d/j/django-pgfields-HEAD/tests/south_migrations/models.py   django-pgfields(Download)
    class Author(models.Model):
        name = models.CharField(max_length=75)
        uuid = models.UUIDField(null=True)
        books = models.ArrayField(of=BookField)
        data = models.JSONField(default=None)

src/d/j/django-pgfields-HEAD/tests/composite/models.py   django-pgfields(Download)
    ))
    birthday = models.DateField()
    books = models.ArrayField(of=fields.BookField)
 
 
class Character(models.Model):
    name = models.CharField(max_length=50)
    items = models.ArrayField(of=fields.ItemField)

src/d/j/django-pgfields-HEAD/tests/gis/models.py   django-pgfields(Download)
    class Place(models.Model):
        name = models.CharField(max_length=50)
        books = models.ArrayField(of=models.CharField(max_length=100))
        bounds = models.PolygonField()
 

src/d/j/django-pgfields-HEAD/tests/arrays/models.py   django-pgfields(Download)
class Place(models.Model):
    name = models.CharField(max_length=20)
    residents = models.ArrayField(of=models.CharField(max_length=40))
 

src/d/j/django-pgfields-HEAD/tests/docs/models.py   django-pgfields(Download)
class Hobbit(models.Model):
    name = models.CharField(max_length=50)
    favorite_foods = models.ArrayField(models.CharField(max_length=100))
    created = models.DateTimeField(auto_now_add=True)
    modified = models.DateTimeField(auto_now=True)

src/d/j/django-pgfields-HEAD/tests/south_migrations/tests.py   django-pgfields(Download)
        # Create the Array field.
        array_field = models.ArrayField(
            of=('django.db.models.CharField', [], { 'max_length': 50 })
        )