Skip to main content

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 field
  • PANField, 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-gst-field-0.0.3.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page