django-simple-mixins
What is it?
django-simple-mixins is a simple Django App that contains some Mixins to use for Django’s Class Based Views.
Installation
You can do any of the following to install django-simple-mixins
Run pip install django-simple-mixins.
Run easy_install django-simple-mixins.
Download or “git clone” the package and run setup.py.
Download or “git clone” the package and add simplemixins to your PYTHONPATH.
Usage
For example if you’d like to use the CacheMixin:
from django.views.generic import ListView
from simplemixins.mixins import CacheMixin
class ArticleListView(CacheMixin, ListView):
cache_timeout = 60 * 15 # 900 – that is, 15 minutes multiplied by 60 seconds per minute.
model = Article
Requirements
Metadata
Release files for django-simple-mixins 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-simple-mixins-0.1.0.zip | 6.1 kB | Without provenance | Details for django-simple-mixins-0.1.0.zip |
Release files / django-simple-mixins-0.1.0.zip
| Download URL | django-simple-mixins-0.1.0.zip |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b16c2f4fe924e48aaf233f010dee8c4f35d7f7196336b952d8bedc6e49a27e88
|
|
BLAKE2b-256 checksum How to use checksums |
d538adfc2537e1e2349692d656fddd574e74d6852ea18235f884647297572603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-simple-mixins 0.1.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.