Skip to main content

This module is mainly used internally between other django-fluent apps. For the whole list of apps, see http://django-fluent.org/

This module provides:

  • Stubs to make integration with third-party apps optional

  • Django compatibility code

  • Shared code for fluent apps (“Don’t repeat yourself”)

Stub features

fluent_utils.softdeps.any_imagefield

Support django-any-imagefield when it’s available. This provides an improved ImageField and FileField.

It supports various third party media libraries, allowing django-fluent to use the media library of your choice.

fluent_utils.softdeps.any_urlfield

The AnyUrlField enhances the standard Django URLField, when django-any-urlfield is installed.

fluent_utils.softdeps.comments

Seemingly switch between django_comments or the older django.contrib.comments.

fluent_utils.softdeps.fluent_pages

Stub the CurrentPageMixin, app_reverse() and mixed_reverse() when django-fluent-pages is not installed. This allows apps to revert to standard urls.py URLs when they can’t provide URLs via a custom page type for the fluent-pages tree.

fluent_utils.softdeps.taggit

Optional support for tagging. It supports various applications:

django-fluent automatically uses one of these third-party apps when it’s found in INSTALLED_APPS.

Internal API’s

These API’s are available for other django-fluent-.. modules:

  • fluent_utils.ajax.JsonResponse - a JsonResponse before Django 1.8 provided that.

  • fluent_utils.django_compat - imports for various features that moved or changed between Django versions.

  • fluent_utils.dry.admin.MultiSiteAdminMixin - mixin for the admin to filter on the parent_site field.

  • fluent_utils.dry.fields.HideChoicesCharField - avoid expanding choices in Django migrations.

  • fluent_utils.load.import_apps_submodule() - import a module in every application found in INSTALLED_APPS.

  • fluent_utils.load.import_class() - import a class via a Python path.

  • fluent_utils.load.import_settings_class() - import a class via a named setting.

  • fluent_utils.load.import_module_or_none() - import a module, only raises an ImportError for sub modules.

  • fluent_utils.softdeps.* - various soft dependencies, see above

Release files for django-fluent-utils 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-fluent-utils 3.0.1
File Size Uploaded
django-fluent-utils-3.0.1.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-fluent-utils 3.0.1
File Interpreter ABI Platform
django_fluent_utils-3.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:35.5 kB

Release files / django-fluent-utils-3.0.1.tar.gz

Download URL django-fluent-utils-3.0.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
344147410a31d711be82e6d126f9f8a96d24a38eb964915321a933c2db7c195f
BLAKE2b-256 checksum
How to use checksums
f4227fd785f82a540a67aff83732ad0b6ef3946fb0121302b021263f6ccb6eeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release files / django_fluent_utils-3.0.1-py2.py3-none-any.whl

Download URL django_fluent_utils-3.0.1-py2.py3-none-any.whl
Size 19.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eb81d765eb23fc65674c227095e8e975dec04c4e9ef1fd938da48e56e5bf1f0d
BLAKE2b-256 checksum
How to use checksums
51bf3fde7a6bbda64384bb16b76bad412e3a7867c1a3b0d0fbc8cd48c9878b07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0

2 release files

2.0.1

2 release files

2.0

2 release files

1.4.1

2 release files

1.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page