Skip to main content

django_amis_render

a django app to render amis json file to web.

amis version:1.3.4

install: pip install django_amis_render

usage:

  1. added in settings.py INSTALLED_APPS:
    'django_amis_render',
    
  2. add url in urls.py:
from django.urls import path,include

urlpatterns = [
    path('admin/', admin.site.urls),
    path('front/', include('django_amis_render.urls')) <<--add this line
]
  1. add amis json file in your apps: eg:
my_project----my_project
                |
                |
                --------settings.py
                --------urls.py
          ----myRenderApp     <----this is your app
                |
                ---------static
                           |
                           ----amis_json
                                 |
                                 --------first_page.json
                                 --------second_page.json

  ```

4. make sure the myRenderApp is in settings.py INSTALLED_APPS:
  ```
  INSTALLED_APPS = [
  'django.contrib.admin',
  'django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.messages',
  'django.contrib.staticfiles',
  'myRenderApp',
]
  1. login admin page: http://127.0.0.1:8000/admin/ find DJANGO_AMIS_RENDER---AMIS-PAGE press "自动添加"/"AUTOADD".

  2. if tips: to urls to myRenderApp. set projects urls.py. add this line: path('render/', include('myRenderApp.urls'))

  3. finish. the page will be shown below. press open /打开页面 will open the page.

页面展示

Metadata

Release files for django-amis-render 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-amis-render 0.0.8
File Size Uploaded Provenance
django_amis_render-0.0.8.tar.gz 13.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-amis-render 0.0.8
File Interpreter ABI Platform
django_amis_render-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 MB

Release files / django_amis_render-0.0.8.tar.gz

Download URL django_amis_render-0.0.8.tar.gz
Size 13.8 MB
Tags Source
SHA-256 checksum
How to use checksums
fc847b0b9626d270f9f08ee655661e9990883be3318ed5d122d91e7957be3d53
BLAKE2b-256 checksum
How to use checksums
bbcab50f92a058bf01551f9254fd9675b4ada4ddaffeaf56c434a0d31bfc19ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.9

Release files / django_amis_render-0.0.8-py3-none-any.whl

Download URL django_amis_render-0.0.8-py3-none-any.whl
Size 13.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
644e434ffc2c64ddeb96f556e5857a0b796ba1748ee81709998f13bcdda92649
BLAKE2b-256 checksum
How to use checksums
569588d4dde8dcfd85eced2cf999737bae40b92e237b20fe4f4d6a8c7c6f5f9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.9

Security for django-amis-render 0.0.8

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page