1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Django Reactify is an app that allows developers to add and use React components in your Django app without using create-react-app.
Detailed documentation is in the “docs” directory.
Quick start
Install the package via the following command:
pip install django-reactify
Add “reactify” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'reactify', ]Run the following command:
Ensure that the templates directory exists in the specified app name.
python manage.py reactify <app_name>
> Replace the app name with the existing Django app you want to reactify.
> This command does the following:
Creates barbel and webpack configuration files in the app’s root directory.
Creates package.json file with the scripts to run React development server.
Creates a react folder directory with the necessary files and subdirectories where you can add your react component files and redux actions and reducers.
Creates a react folder directory with the necessary files and subdirectories where you can add your react component files and redux actions and reducers.
Installs the basic npm development packages.
starts the react development server that listens on the changes made to the react components and compile a minimal js file that is rendered to the view.
cd to the django app directory and run the following command:
npm run dev
Add the new view function to the views file to render the compiled version of the react app.
- def index(request):
template_name = ‘<app_name>/index.html’
return render(request, template_name)
Add more React components to the react app’s component folder.
Enjoy coding!
Metadata
Release files for django-reactify 1.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-reactify-1.3.4.tar.gz | 53.3 kB | Without provenance | Details for django-reactify-1.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_reactify-1.3.4-py3-none-any.whl | Python 3 | none | any | Details for django_reactify-1.3.4-py3-none-any.whl |
Total release size: 129.1 kB
Release files / django-reactify-1.3.4.tar.gz
| Download URL | django-reactify-1.3.4.tar.gz |
|---|---|
| Size | 53.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0f1bd667823e399d690b86c2866184419fa295c515fdeb4cce49d4e3c5f606b
|
|
BLAKE2b-256 checksum How to use checksums |
03858bab14b5377f3739431e55c89878cc214766a281aa8d43a59ac4b6af805c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / django_reactify-1.3.4-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | django_reactify-1.3.4-py3-none-any.whl |
|---|---|
| Size | 75.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9b98c74fed0a51753e071ce3ab62461a8cb769f3e771b0cd80405c77654da5c
|
|
BLAKE2b-256 checksum How to use checksums |
22f52c6ea8b13b548c5b649da166f56e79f0011362d2a516707ff1cebb58fcf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for django-reactify 1.3.4
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.