Skip to main content

django-morris

A hexadecimal color field with a preview.

Installation

  • Run pip install django-morris
  • Add morris to settings.INSTALLED_APPS
  • Run python manage.py collectstatic
  • Restart your application server

Usage

Models

Just add a color field to your models like this:

from django.db import models
from morris.fields import HexColorField

class MyModel(model.Model):
    color = HexColorField()

Credits

Heavily inspired from django-colorfield. If you need a color picker you should use django-colorfield instead of this package.

License

Released under MIT License.

Metadata

Release files for django-morris 0.2.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-morris 0.2.1
File Size Uploaded Provenance
django-morris-0.2.1.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-morris 0.2.1
File Interpreter ABI Platform
django_morris-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / django-morris-0.2.1.tar.gz

Download URL django-morris-0.2.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbc3c8c6164c60026ff50c62c8924b125c51dd9e37d8940b5954c1cc928d5f08
BLAKE2b-256 checksum
How to use checksums
1fd5adf57abdc74cba81ce143fb8ee1e40ca34019c7a92c29c115f3c09ebf8c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release files / django_morris-0.2.1-py3-none-any.whl

Download URL django_morris-0.2.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d7755efa7b5a166642f3d72e5678cd181fa62b3ac1903ec168e048c0ebf9cda
BLAKE2b-256 checksum
How to use checksums
8f2362fad3fd3763da94c06e8ac07bfa1e76ebf63ea8bbc060e6bd39740bc53a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Security for django-morris 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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