@classmethod
    def create_from(cls, another, **kwargs):
        reused_fields = {}
        for field, value in another.get_fields():
            if field in cls.FIELDS:
                reused_fields[field] = value
        reused_fields.update(kwargs)
        return cls(**reused_fields)
Dummy index page
dataset/ETHPy150Open ActiveState/applib/applib/_simpledb.py/SimpleObject.create_from--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/views/views.py/index_page