Skip to content

Haoke98/django-go-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django + GoView

An Django extension for Django and GoView

引导

GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。当然低代码也不是 “银弹”,希望所有人员都能理智看待此技术。

演示地址: https://demo.mtruning.club/

Install & Usage

  • Install : pip install django-go-view
  • Optimize the proj setting.py:
INSTALLED_APPS = [
    '......',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'goview',
    '.......',
]
  • Add the urls
from django.urls import path, include, re_path

urlpatterns = [
    ...
]

urlpatterns += [
    ...
    re_path(r'^goview/', include('goview.urls', namespace='photologue')),
]
  • Sync Your Database
python manage.py migrate goview

Contribute & Development

  • Admin 页面账号和密码统一都是: go-view / go-view.

发布

Generating distribution archives

  • Now run this command from the same directory where pyproject.toml is located:
    python setup.py sdist bdist_wheel
    This command should output a lot of text and once completed should generate two files in the dist directory:
    dist/
    ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl
    └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz

Uploading the distribution archives

  • Now that you are registered, you can use twine to upload the distribution packages. You’ll need to install Twine:
    python3 -m pip install --upgrade twine
  • Once installed, run Twine to upload all of the archives under dist:
    python3 -m twine upload --repository testpypi dist/*

友情链接