Skip to main content

Django-Hexadecimal-Field

Hexadecimal field in Django for hexadecimal inputs

Installation

Usage

Import the HexadecimalField from fields.py

from djangoHexadecimal.fields import HexadecimalField
from django.db import models

class SampleModel(model.Model):
    hex_num = HexadecimalField(max_length='25')

Note that user must specify max_length

Similarly , the user can define their own validators which will be appended to hexadecimal validator

from djangoHexadecimal.fields import HexadecimalField
from django.db import models

class SampleModel(model.Model):
    hex_num = HexadecimalField(max_length='25',validators=[custom_validator])

Download files

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

Source Distribution

DjangoHexadecimalField-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DjangoHexadecimalField-0.0.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file DjangoHexadecimalField-0.0.3.tar.gz.

File metadata

  • Download URL: DjangoHexadecimalField-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for DjangoHexadecimalField-0.0.3.tar.gz
Algorithm Hash digest
SHA256 caadbae4aec267b822868b10b9c57d61baad3fcf5c5e0304595a527cb3c458e8
MD5 874cc8442a94987a673daa6650713005
BLAKE2b-256 632e1ddb9f452394071a79bc9012f69893ad7a9b982efb6fd604bf556137c463

See more details on using hashes here.

File details

Details for the file DjangoHexadecimalField-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: DjangoHexadecimalField-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for DjangoHexadecimalField-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 758f6165b957229618a187024bef7855e4e7ec0fd1461b05970a98e6f43a33d7
MD5 a599a5e6fb0c456413e9048cf7cd9b5d
BLAKE2b-256 c1224539eca90e31e80b60839789b47e8efdb50bc4b29b7a5b0ae6decabb2fdd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page