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.

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
django-morris-0.2.1.tar.gz 3.8 kB 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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

3 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