Skip to main content

a django app to render amis json file to web.

Project description

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
          ----myTestApp     <----this is your app
                |
                ---------static
                           |
                           ----amis_json
                                 |
                                 --------first_page.json
                                 --------second_page.json
  							   
  ```

4. make sure the myTestApp 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',
  'myTestApp',
]
  1. login admin page: http://127.0.0.1:8000/admin/ find DJANGO_AMIS_RENDER---AMIS-PAGE press "自动添加"/"AUTOADD". the page will be shown below. press open /打开页面 will open the page.

页面展示

Project details


Download files

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

Source Distribution

django_amis_render-0.0.5.tar.gz (7.6 MB view details)

Uploaded Source

Built Distribution

django_amis_render-0.0.5-py3-none-any.whl (7.7 MB view details)

Uploaded Python 3

File details

Details for the file django_amis_render-0.0.5.tar.gz.

File metadata

  • Download URL: django_amis_render-0.0.5.tar.gz
  • Upload date:
  • Size: 7.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for django_amis_render-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d3d0986e07fd9a29f4bd479d042680b1d3db674d4d51a137d0798dc30ee4f9e6
MD5 37616d6d7fc7b65ac2f7993d702a5f97
BLAKE2b-256 438bbedb55457577ed27747695a6f8272f4c43aefe5f621fde56202f8bfa7ef2

See more details on using hashes here.

File details

Details for the file django_amis_render-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: django_amis_render-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for django_amis_render-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 395c6a69d06fa00d50e55311b244fb93562ac3e3a4267a97f61a545e910bde3d
MD5 919752e3c6bb7efcceb53c11d3cd5166
BLAKE2b-256 5b3c018377c0ecbaaf848bb73c59ddf7a60baf1689c050fbaf6e5018823d0658

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