An Django extension for Django and GoView
GoView 是一个高效的拖拽式低代码数据可视化开发平台,将图表或页面元素封装为基础组件,无需编写代码即可制作数据大屏,减少心智负担。当然低代码也不是 “银弹”,希望所有人员都能理智看待此技术。
演示地址: https://demo.mtruning.club/
- 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
- Admin 页面账号和密码统一都是:
go-view
/go-view
.
- Now run this command from the same directory where pyproject.toml is located:
This command should output a lot of text and once completed should generate two files in the dist directory:
python setup.py sdist bdist_wheel
dist/ ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz
- 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/*