
from django.db import models
from django_orm.postgresql.fields.arrays import ArrayField
from django_orm.postgresql.fields.interval import IntervalField
from django_orm.postgresql.fields.bytea import ByteaField
from django_orm.postgresql.manager import PgManager

class IntModel(models.Model):
    lista = ArrayField(dbtype='int')
    objects = PgManager()
    
class TextModel(models.Model):
    lista = ArrayField(dbtype='text')
    objects = PgManager()

class DoubleModel(models.Model):
    lista = ArrayField(dbtype='double precision')
    objects = PgManager()

class VarcharModel(models.Model):
    lista = ArrayField(dbtype='varchar(40)')
    objects = PgManager()

class IntervalModel(models.Model):
    iv = IntervalField()
    objects = PgManager()

class ByteaModel(models.Model):
    bb = ByteaField()
    objects = PgManager()


from django_orm.postgresql.geometric.fields import PointField, CircleField
from django_orm.postgresql.geometric.fields import LsegField, BoxField
from django_orm.postgresql.geometric.fields import PathField, PolygonField

class GeomModel(models.Model):
    pt = PointField()
    pl = PolygonField()
    ln = LsegField()
    bx = BoxField()
    cr = CircleField()
    ph = PathField()

    objects = PgManager()


from django.db import models
from django_orm.postgresql.fields.arrays import ArrayField
from django_orm.postgresql.fields.interval import IntervalField
from django_orm.postgresql.fields.bytea import ByteaField
from django_orm.manager import Manager

class IntModel(models.Model):
    lista = ArrayField(dbtype='int')
    objects = Manager()
    
class TextModel(models.Model):
    lista = ArrayField(dbtype='text')
    objects = Manager()

class DoubleModel(models.Model):
    lista = ArrayField(dbtype='double precision')
    objects = Manager()

class VarcharModel(models.Model):
    lista = ArrayField(dbtype='varchar(40)')
    objects = Manager()

class IntervalModel(models.Model):
    iv = IntervalField()
    objects = Manager()

class ByteaModel(models.Model):
    bb = ByteaField()
    objects = Manager()


from django_orm.postgresql.geometric.fields import PointField, CircleField
from django_orm.postgresql.geometric.fields import LsegField, BoxField
from django_orm.postgresql.geometric.fields import PathField, PolygonField

class GeomModel(models.Model):
    pt = PointField()
    pl = PolygonField()
    ln = LsegField()
    bx = BoxField()
    cr = CircleField()
    ph = PathField()

    objects = Manager()

Fix tests with last changes on api.
Fix tests with last changes on api.

  
  from django.db import models
  from django_orm.postgresql.fields.arrays import ArrayField
  from django_orm.postgresql.fields.interval import IntervalField
  from django_orm.postgresql.fields.bytea import ByteaField
- from django_orm.postgresql.manager import PgManager
+ from django_orm.manager import Manager
  
  class IntModel(models.Model):
      lista = ArrayField(dbtype='int')
-     objects = PgManager()
+     objects = Manager()
      
  class TextModel(models.Model):
      lista = ArrayField(dbtype='text')
-     objects = PgManager()
+     objects = Manager()
  
  class DoubleModel(models.Model):
      lista = ArrayField(dbtype='double precision')
-     objects = PgManager()
+     objects = Manager()
  
  class VarcharModel(models.Model):
      lista = ArrayField(dbtype='varchar(40)')
-     objects = PgManager()
+     objects = Manager()
  
  class IntervalModel(models.Model):
      iv = IntervalField()
-     objects = PgManager()
+     objects = Manager()
  
  class ByteaModel(models.Model):
      bb = ByteaField()
-     objects = PgManager()
+     objects = Manager()
  
  
  from django_orm.postgresql.geometric.fields import PointField, CircleField
  from django_orm.postgresql.geometric.fields import LsegField, BoxField
  from django_orm.postgresql.geometric.fields import PathField, PolygonField
  
  class GeomModel(models.Model):
      pt = PointField()
      pl = PolygonField()
      ln = LsegField()
      bx = BoxField()
      cr = CircleField()
      ph = PathField()
  
-     objects = PgManager()
+     objects = Manager()
  
Fix tests with last changes on api.
## Code Before:

from django.db import models
from django_orm.postgresql.fields.arrays import ArrayField
from django_orm.postgresql.fields.interval import IntervalField
from django_orm.postgresql.fields.bytea import ByteaField
from django_orm.postgresql.manager import PgManager

class IntModel(models.Model):
    lista = ArrayField(dbtype='int')
    objects = PgManager()
    
class TextModel(models.Model):
    lista = ArrayField(dbtype='text')
    objects = PgManager()

class DoubleModel(models.Model):
    lista = ArrayField(dbtype='double precision')
    objects = PgManager()

class VarcharModel(models.Model):
    lista = ArrayField(dbtype='varchar(40)')
    objects = PgManager()

class IntervalModel(models.Model):
    iv = IntervalField()
    objects = PgManager()

class ByteaModel(models.Model):
    bb = ByteaField()
    objects = PgManager()


from django_orm.postgresql.geometric.fields import PointField, CircleField
from django_orm.postgresql.geometric.fields import LsegField, BoxField
from django_orm.postgresql.geometric.fields import PathField, PolygonField

class GeomModel(models.Model):
    pt = PointField()
    pl = PolygonField()
    ln = LsegField()
    bx = BoxField()
    cr = CircleField()
    ph = PathField()

    objects = PgManager()

## Instruction:
Fix tests with last changes on api.
## Code After:

from django.db import models
from django_orm.postgresql.fields.arrays import ArrayField
from django_orm.postgresql.fields.interval import IntervalField
from django_orm.postgresql.fields.bytea import ByteaField
from django_orm.manager import Manager

class IntModel(models.Model):
    lista = ArrayField(dbtype='int')
    objects = Manager()
    
class TextModel(models.Model):
    lista = ArrayField(dbtype='text')
    objects = Manager()

class DoubleModel(models.Model):
    lista = ArrayField(dbtype='double precision')
    objects = Manager()

class VarcharModel(models.Model):
    lista = ArrayField(dbtype='varchar(40)')
    objects = Manager()

class IntervalModel(models.Model):
    iv = IntervalField()
    objects = Manager()

class ByteaModel(models.Model):
    bb = ByteaField()
    objects = Manager()


from django_orm.postgresql.geometric.fields import PointField, CircleField
from django_orm.postgresql.geometric.fields import LsegField, BoxField
from django_orm.postgresql.geometric.fields import PathField, PolygonField

class GeomModel(models.Model):
    pt = PointField()
    pl = PolygonField()
    ln = LsegField()
    bx = BoxField()
    cr = CircleField()
    ph = PathField()

    objects = Manager()
