Metadata-Version: 2.1
Name: DjangoHexadecimalField
Version: 0.0.3
Summary: Hexadecimal Field for Django
Home-page: https://github.com/mathrithms/Django-Hexadecimal-Field
Author: mathrithms
Author-email: hello@mathrithms.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: Django

# Django-Hexadecimal-Field
Hexadecimal field in Django for hexadecimal inputs

## Installation

## Usage
Import the HexadecimalField from fields.py 

```python

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

```python

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

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

```


