GST and PAN number field for django models.
Project description
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()
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
django-gst-field-0.0.2.tar.gz
(3.0 kB
view hashes)