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_divan-0.2.4/src/divan/models.py   django_divan(Download)
            else:
                new_class._divan.groups = groups
            for field_type, serializers in db.default_serializers.items():
                if not hasattr(new_class._divan, field_type):
                    setattr(new_class._divan, field_type, serializers)

src/d/j/django_divan-0.2.4/src/divan/forms.py   django_divan(Download)
            new_class.base_fields = base_fields
            new_class.database = db
            for field_type, serializers in db.default_serializers.items():
                if not hasattr(new_class._divan, field_type):
                    setattr(new_class._divan, field_type, serializers)