Helpful django abstract models collection.
Project description
django-model-helper
Helpful django abstract models collection.
抽象类列表
- WithAddModTimeFields
- WithArgsKwargsFields
- WithConfigFields
- WithCountFields
- WithDeletedStatusFields
- WithDisplayOrderFields
- WithEnabledStatusFields
- WithExpireTimeFields
- WithHotspotFields
- WithJsonDataFields
- WithLockStatusFields
- WithSimpleResultFields
- WithSimpleNRRDStatusFields
- WithUidFields
- WithVisibleFields
版本记录
v0.1.0
- 版本首发。
v0.1.1
- WithExpireTimeFields添加default_expires属性。
- WithUidFields添加uidgen属性,用于生成uid默认值。
v0.1.5
- 添加WithVisibleFields抽象类。
- 添加WithHotspotFields抽象类。
v0.1.9
- 添加WithArgsKwargsFields抽象类。
- 修正强制要求
GLOBAL_LOCK_CONFIG
配置项的问题。
v0.1.12
- 添加
WithSimpleResultFields.result_time
字段。 - 添加
WithEnabledStatusFields
的action机制。- 添加
actions.set_enabled_for_selected
和actions.set_disabled_for_selected
。 - 添加
admin.WithEnabledStatusFieldsAdmin
. - 添加
WithEnabledStatusFields.Meta.permissions
. - 添加
WithEnabledStatusFields.enabled_display
.
- 添加
- 添加
WithDeletedStatusFields
的action机制。- 添加
actions.set_deleted_for_selected
和actions.set_undeleted_for_selected
。 - 添加
admin.WithDeletedStatusFieldsAdmin
. - 添加
WithDeletedStatusFields.Meta.permissions
. - 添加
WithDeletedStatusFields.set_undeleted
和WithDeletedStatusFields.deleted_display
.
- 添加
- 添加
WithVisibleFields
的action机制。- 添加
actions.set_visible_for_selected
和actions.set_hidden_for_selected
。 - 添加
admin.WithVisibleFieldsAdmin
. - 添加
WithVisibleFields.Meta.permissions
. - 添加
WithVisibleFields.visible_display
.
- 添加
- 添加
WithHotspotFields
的action机制。- 添加
actions.set_hotspot_for_selected
和actions.clear_hotspot_for_selected
。 - 添加
admin.WithHotspotFieldsAdmin
. - 添加
WithHotspotFields.Meta.permissions
. - 添加
WithHotspotFields.hotspot_display
. - 修改
WithHotspotFields.set_non_hotspot
为WithHotspotFields.clear_hotspot
。
- 添加
- 注意:所有相关模型都需要做模型更新。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-model-helper-0.1.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bdfa33d880ca9643c939e01a2adeb152d213ab611a181c7590f0a9f8283dfaa |
|
MD5 | 9199456a93d2cd5813c27fc335994385 |
|
BLAKE2b-256 | 9db389e0b43a85eb6e23268e281dd6eb62a4e0749822755882cd284f1f062b96 |
Close
Hashes for django_model_helper-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc12430118f98465667a15f56678190561c22ff2adb2806b87ce8b9f07ef9051 |
|
MD5 | 788072a61b14b237b3a9fc7be8b63c3d |
|
BLAKE2b-256 | ab2ced96b828bdb70c0779568164e6e10aade93a83b3357b7606e10ea8749eca |