Skip to main content

A Django app to generate typings from Django application models

Project description

Django Typescript

Django Typescript generates typings against your Django application models

Please note that this is a work in progress and is not yet ready for real use.

Getting Started

This package has only been tested against Django 5.1

Getting It

$ pip install django-typescript

Installing It

To enable django_typescript in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'django_typescript',
    ...
)

You will also need to specify a directory to store generated typings:

DJANGO_TYPESCRIPT_DIR='types'

Using It

Generate types:

$ python manage.py generate_types

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django_typescript-0.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

django_typescript-0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file django_typescript-0.1.tar.gz.

File metadata

  • Download URL: django_typescript-0.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for django_typescript-0.1.tar.gz
Algorithm Hash digest
SHA256 995b6da7f584b0960c28cf4e78be8fed61954305ce2cff6d4b4e185b19ca233e
MD5 6c546d905bf8d337e115b00af650612d
BLAKE2b-256 ce2f291ff96bdaf80184271fa58080a02b5b4ea0d4c00d6b22b570da7cbc9898

See more details on using hashes here.

File details

Details for the file django_typescript-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_typescript-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d51df7d8d5a8abc2c34a34d4e00b9a138bdf7656a8090a79cecdc61b6d115d8a
MD5 d5a136fad58052bbb72480c3a61aecec
BLAKE2b-256 2792b22191f60b42f4242a623b1ea6704aa4ca78c82e7cd32dfd40295af8c90c

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