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])
Metadata
Release files for DjangoHexadecimalField 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DjangoHexadecimalField-0.0.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DjangoHexadecimalField-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / DjangoHexadecimalField-0.0.3.tar.gz
| Download URL | DjangoHexadecimalField-0.0.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
caadbae4aec267b822868b10b9c57d61baad3fcf5c5e0304595a527cb3c458e8
|
|
BLAKE2b-256 checksum How to use checksums |
632e1ddb9f452394071a79bc9012f69893ad7a9b982efb6fd604bf556137c463
|
| 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/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|
Release files / DjangoHexadecimalField-0.0.3-py3-none-any.whl
| Download URL | DjangoHexadecimalField-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
758f6165b957229618a187024bef7855e4e7ec0fd1461b05970a98e6f43a33d7
|
|
BLAKE2b-256 checksum How to use checksums |
c1224539eca90e31e80b60839789b47e8efdb50bc4b29b7a5b0ae6decabb2fdd
|
| 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/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
|