add sync_db post hook for add models view permission
fix permission, add view permission.
fields not in form can't edit, maybe it's a readonly field.
fix template tag error.
if user has change permission also should have view permission.
obj link will be detail url when user don't have change permission.