Skip to main content

Helpful django abstract models collection.

Project description

django-model-helper

Helpful django abstract models collection.

抽象类列表

  1. WithAddModTimeFields
  2. WithArgsKwargsFields
  3. WithConfigFields
  4. WithCountFields
  5. WithDeletedStatusFields
  6. WithDisplayOrderFields
  7. WithEnabledStatusFields
  8. WithExpireTimeFields
  9. WithHotspotFields
  10. WithJsonDataFields
  11. WithLockStatusFields
  12. WithSimpleResultFields
  13. WithSimpleNRRDStatusFields
  14. WithUidFields
  15. 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_selectedactions.set_disabled_for_selected
    • 添加admin.WithEnabledStatusFieldsAdmin.
    • 添加WithEnabledStatusFields.Meta.permissions.
    • 添加WithEnabledStatusFields.enabled_display.
  • 添加WithDeletedStatusFields的action机制。
    • 添加actions.set_deleted_for_selectedactions.set_undeleted_for_selected
    • 添加admin.WithDeletedStatusFieldsAdmin.
    • 添加WithDeletedStatusFields.Meta.permissions.
    • 添加WithDeletedStatusFields.set_undeletedWithDeletedStatusFields.deleted_display.
  • 添加WithVisibleFields的action机制。
    • 添加actions.set_visible_for_selectedactions.set_hidden_for_selected
    • 添加admin.WithVisibleFieldsAdmin.
    • 添加WithVisibleFields.Meta.permissions.
    • 添加WithVisibleFields.visible_display.
  • 添加WithHotspotFields的action机制。
    • 添加actions.set_hotspot_for_selectedactions.clear_hotspot_for_selected
    • 添加admin.WithHotspotFieldsAdmin.
    • 添加WithHotspotFields.Meta.permissions.
    • 添加WithHotspotFields.hotspot_display.
    • 修改WithHotspotFields.set_non_hotspotWithHotspotFields.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

django-model-helper-0.1.12.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

django_model_helper-0.1.12-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file django-model-helper-0.1.12.tar.gz.

File metadata

  • Download URL: django-model-helper-0.1.12.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for django-model-helper-0.1.12.tar.gz
Algorithm Hash digest
SHA256 2bdfa33d880ca9643c939e01a2adeb152d213ab611a181c7590f0a9f8283dfaa
MD5 9199456a93d2cd5813c27fc335994385
BLAKE2b-256 9db389e0b43a85eb6e23268e281dd6eb62a4e0749822755882cd284f1f062b96

See more details on using hashes here.

File details

Details for the file django_model_helper-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for django_model_helper-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 dc12430118f98465667a15f56678190561c22ff2adb2806b87ce8b9f07ef9051
MD5 788072a61b14b237b3a9fc7be8b63c3d
BLAKE2b-256 ab2ced96b828bdb70c0779568164e6e10aade93a83b3357b7606e10ea8749eca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page