Skip to main content

Django with more

Project description

django-more

A collection of Django patches and extensions to give more of the features and functionality that I want or expect from Django.
Currently aimed only at Django 1.11

django_more

Extras for Django that do not require any patching and can be used directly. * django_more.storages * django_more.PartialIndex * django_more.HashField * django_more.OrderByField

django_cte

Patches Django to add CTE based functionality. * django_cte.patch_cte()

Not included in distributions until out of WIP state
Placing django_cte into Django INSTALLED_APPS will automatically invoke patch_cte()

django_enum

Patches Django to add EnumFields, with enum state information in migrations to allow for consistent migrations compatible with postgres and mysql. * django_enum.EnumField * django_enum.enum_meta * django_enum.patch_enum()

Placing django_enum into Django INSTALLED_APPS will automatically invoke patch_enum()

django_types

Patches Django to add support for custom database types to be used within migrations. * django_types.patch_types()

To avoid additional dependencies in INSTALLED_APPS, apps adding types requiring this should check for ProjectState.add_type() support, and if not present apply this with patch_types()

patchy

A class based monkey patching package used by the other django_more packages to apply their patches in a consistent and safe manner that is hopefully less fragile to Django core changes. * patchy.patchy() * patchy.super_patchy()

Version History

0.2.0
Added documentation for django_more features in README. Refactored django_more.fields into sub-module. Added:
* django_more.OrderByField
0.1.1
Bugfix to include django_types in distribution as necessary for django_enum.
0.1.0
Initial release without django_cte.
Added:
* django_enum.EnumField * django_more.PartialIndex * django_more.HashField * django_more.storages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_more-0.2.0-py3-none-any.whl (34.3 kB view hashes)

Uploaded Python 3

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