django-gst-field
A Django library which provides model and form fields for Goods and Services Tax and Permanent Account Number
Includes:
GSTField, form and model fieldPANField, form and model field
Installation
pip install django-gst-field
Basic usage
Add gst_field to the list of the installed apps in Django settings.py file:
INSTALLED_APPS = [
...
'gst_field',
...
]
Model usage
from django.conf import settings
from django.db.models import ForeignKey, CASCADE, Model
from gst_field.modelfields import GSTField, PANField
class Tax(Model):
user = ForeignKey(settings.AUTH_USER_MODEL, on_delete=CASCADE)
gstin = GSTField()
pan = PANField()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-gst-field-0.0.3.tar.gz.
File metadata
- Download URL: django-gst-field-0.0.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a4dc4d53165d0e4337aa0955d498b72d0562e170b49ec43f685f45d509bc840
|
|
| MD5 |
c2901fd67acf7e2a2b0a0b054a4d70a1
|
|
| BLAKE2b-256 |
889e0731322f6e42ee4a5889e9dd605bc726dc4acbcca33ad44a07c599752ac4
|