GST and PAN number field for django models.
Project description
Django Indian Tax Fields
This repository is a fork of the original repository django-gst-field. This fork is created to maintain the code and extend the original scope.
Contents
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-indian-tax-fields
Basic usage
Add indian_tax_fields
to the list of the installed apps in Django settings.py
file:
INSTALLED_APPS = [
...
'indian_tax_fields',
...
]
Model usage
from django.conf import settings
from django.db.models import ForeignKey, CASCADE, Model
from indian_tax_fields.gst.model_fields import GSTField
from indian_tax_fields.pan.model_fields import PANField
class Tax(Model):
user = ForeignKey(settings.AUTH_USER_MODEL, on_delete=CASCADE)
gstin = GSTField()
pan = PANField()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_indian_tax_fields-0.1.0.tar.gz
.
File metadata
- Download URL: django_indian_tax_fields-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a39c2574e053aa89bdbf03f56b5fbe0e967b848fbdf56ef4ad5f2dc0cd23430e |
|
MD5 | 35dfbac903f761d6084cd99f663f9225 |
|
BLAKE2b-256 | 088de0a42354b131778688a1e09d24eb78db0000da5a2f1eae269e8a23b1e383 |
Provenance
The following attestation bundles were made for django_indian_tax_fields-0.1.0.tar.gz
:
Publisher:
python-publish.yml
on Mitrajeet-Golsangi/django-indian-tax-fields
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_indian_tax_fields-0.1.0.tar.gz
- Subject digest:
a39c2574e053aa89bdbf03f56b5fbe0e967b848fbdf56ef4ad5f2dc0cd23430e
- Sigstore transparency entry: 147935261
- Sigstore integration time:
- Predicate type:
File details
Details for the file django_indian_tax_fields-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_indian_tax_fields-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7866f987351ef39a2c646eaa5000ad6376a3f829c10ca08cefdbf7a781d3465 |
|
MD5 | 90bcf2e5bd35698e9aeaafd1e02655b4 |
|
BLAKE2b-256 | 1620dac27eba1b737d9f801d2f3c77d8edfc4de8a3f39e8c1676b5c763eefdfe |
Provenance
The following attestation bundles were made for django_indian_tax_fields-0.1.0-py3-none-any.whl
:
Publisher:
python-publish.yml
on Mitrajeet-Golsangi/django-indian-tax-fields
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_indian_tax_fields-0.1.0-py3-none-any.whl
- Subject digest:
e7866f987351ef39a2c646eaa5000ad6376a3f829c10ca08cefdbf7a781d3465
- Sigstore transparency entry: 147935262
- Sigstore integration time:
- Predicate type: