Skip to main content

A simple way to use Master Data in django project.

Project description

Django Master data

  1. install dsm-django-masterdata
pip install pip install dsm-django-masterdata
  1. install django app in settings.py
INSTALLED_APPS = [
    ...
    'dsm_django_masterdata.hscode',
    'dsm_django_masterdata.area',
    ...
]
  1. migrate database
python manage.py migrate
  1. check data in admin page

How to use

  • HScode
from dsm_django_masterdata.hscode.models import HScode
hs_code = HScode.objects.all()
  • Area
from dsm_django_masterdata.area.models import Area
area = Area.objects.all()

Project details


Download files

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

Source Distribution

dsm_django_masterdata-0.0.5.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file dsm_django_masterdata-0.0.5.tar.gz.

File metadata

  • Download URL: dsm_django_masterdata-0.0.5.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.4

File hashes

Hashes for dsm_django_masterdata-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1e18257a4a7f532b1a7671fb3fb33fc8e3da91b64596d5a3f0ed2a0f9c485211
MD5 6d64a05182fb30c017445dc22637d464
BLAKE2b-256 94ea9011b087db26f8f147b70986a06082fe64a57ac75de989d426975b6c9fb4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page