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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
995b6da7f584b0960c28cf4e78be8fed61954305ce2cff6d4b4e185b19ca233e
|
|
| MD5 |
6c546d905bf8d337e115b00af650612d
|
|
| BLAKE2b-256 |
ce2f291ff96bdaf80184271fa58080a02b5b4ea0d4c00d6b22b570da7cbc9898
|
File details
Details for the file django_typescript-0.1-py3-none-any.whl.
File metadata
- Download URL: django_typescript-0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d51df7d8d5a8abc2c34a34d4e00b9a138bdf7656a8090a79cecdc61b6d115d8a
|
|
| MD5 |
d5a136fad58052bbb72480c3a61aecec
|
|
| BLAKE2b-256 |
2792b22191f60b42f4242a623b1ea6704aa4ca78c82e7cd32dfd40295af8c90c
|