django-go-view

An Django extension for Django and GoView


Keywords
django, go-view, goview, django-go-view, screen, bigscreen, echarts, editor
License
Other
Install
pip install django-go-view==1.0.2

Documentation

Django + GoView

An Django extension for Django and GoView

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/*

友情链接