Skip to main content

Django-vali

  • platform Backend part built using the Django,
  • replace default admin templates using Vali Admin screenshoot Requirements

  • django >= 2.0
  • python >= 3.5

How to use

  • Install with pip

    $ pip install django-vali

  • Add vali to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        'vali',
        'django.contrib.admin',
        ...
    )
  • Config vali:
VALI_CONFIG = {
    # the vali-admin themes  default, blue, purple, green,brown
    'theme': 'default',
    'dashboard': {'name': 'dashboard', 'url': '/admin/'},
    # the order for applist  default, registry
    # display applist by group: True
    #  e.g. {group: True}
    # default check decorators  vali.decorator.vali_models_group on ModelAdmin
    #  * otherwize use group_marker in verbose_name_plural, (will be deprecated in future version 0.2.0)*
    #  * e.g.  {group: True, group_marker : '-'}
    #    verbose_name_plural = system-user
    #  * display the model "user" in group "system"
    'applist': {"order": "registry", "group": True},
    # default: //maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
    # 'font_awesome_url': 'font-awesome-4.7.0/css/font-awesome.min.css',
}
    $ ./manage.py runserver
  • Point your browser to http://localhost:8000
  • Login with user: demo , password: demo

Thanks

License

This project is licensed under the MIT License

Todo

-(remoe)modify ValiRelatedFieldWidgetWrapper with Vali theme -(done) replace ValiRelatedFieldWidgetWrapper with ValiCheckboxSelectMultiple, show user permission with groups -(done) support more theme support -(done) app/model orders -(done) app/model groups

  • ...

Metadata

Release files for django-vali 0.2.0

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-vali 0.2.0
File Size Uploaded Provenance Actions
django-vali-0.2.0.tar.gz 481.1 kB Without provenance Details for django-vali-0.2.0.tar.gz

Release files / django-vali-0.2.0.tar.gz

Download URL django-vali-0.2.0.tar.gz
Size 481.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4192db814397c8cbf6081de058dc5faf6c8ed7e308959ea89b9ae1f78f14128
BLAKE2b-256 checksum
How to use checksums
820ba7639de297e864148c90b6f120c437493b8b77b0126b5820a7e5f9ea048e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-vali 0.2.0

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