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

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

src/d/j/django-pgfields-1.4.3/django_pg/models/fields/composite/meta.py   django-pgfields(Download)
from django.db.models.fields.related import RelatedField
from django_pg.models.fields.composite.adapter import adapter_factory
from django_pg.utils import Meta
from django_pg.utils.types import type_exists
from importlib import import_module
        #   that stores the sub-fields, as well as any other properties
        #   (such as an alternate type name).
        meta_obj = attrs.pop('Meta', Meta())
        if not hasattr(meta_obj, 'db_type') and bases != (models.Field,):
            meta_obj.db_type = re.sub(r'field$', '', name.lower())

src/d/j/django-pgfields-HEAD/django_pg/models/fields/composite/meta.py   django-pgfields(Download)
from django.db.models.fields.related import RelatedField
from django_pg.models.fields.composite.adapter import adapter_factory
from django_pg.utils import Meta
from django_pg.utils.types import type_exists
from importlib import import_module
        #   that stores the sub-fields, as well as any other properties
        #   (such as an alternate type name).
        meta_obj = attrs.pop('Meta', Meta())
        if not hasattr(meta_obj, 'db_type') and bases != (models.Field,):
            meta_obj.db_type = re.sub(r'field$', '', name.lower())