Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 544 Bytes

management_commands.md

File metadata and controls

13 lines (9 loc) · 544 Bytes

transpile_validators

This management command uses Transcrypt to convert your project's validators.py file from Python to JavaScript.

The transpiled JavaScript is placed in alongside your validators.py file in the following directory:

Transcrypt Version Output Directory
3.6 __javascript__
3.7 __target__

!!! info The relevant directory should be added to your project's STATICFILES_DIRS settings.