Skip to main content

another admin template for django with bootstrap4.0 and sass

It is not unavailable now

Install

use pip to install django-zadmin.

pip install django-zadmin

How to use django-zadmin?

  1. Anytime, open settings.py, and add app zadmin to INSTALLED_APPS

python INSTALLED_APPS = [ # keep 'django.contrib.admin' here. 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'zadmin', # other app ]

  1. Set STATIC_ROOT and TEMPLATES in settings.py

```python
STATIC_ROOT = os.path.join(BASE_DIR, ‘static’)
...

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            # Here
            os.path.join(BASE_DIR, 'templates')
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

```

  1. Run python manage.py copy_templates_and_static to copy admin’s template files and static files

    python manage.py copy_templates_and_static

  2. That’s OK

    python manage.py runserver

try example

When you have this repository downloaded, you can play with example immediately.

  1. Open example directory.

  2. export environment variable named as PYTHONPATH

    export PYTHONPATH=/repo_path/zadmin

please replace repo_path to your repository path.

  1. run python manage.py runserver

Metadata

Release files for django-zadmin 0.1.1

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-zadmin 0.1.1
File Size Uploaded Provenance Actions
django-zadmin-0.1.1.tar.gz 3.7 kB Without provenance Details for django-zadmin-0.1.1.tar.gz

Release files / django-zadmin-0.1.1.tar.gz

Download URL django-zadmin-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
26859550923a3ed9d55ec7422229fe27f587560975afc1b16c0ae566178e053e
BLAKE2b-256 checksum
How to use checksums
c9a525b9a899b144e33660103b8834203405a30551b9b4b1458b47a61949b05d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-zadmin 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

0.1

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