[](https://travis-ci.org/edustaff/django-unused)
Lists all unused templates, views, or media in a Django project.
## Install / Setup ##
First install the package
pip install django-unused
Add to Django `settings.py` file
```python
INSTALLED_APPS = (
...
'django_unused',
...
)
```
## Usage ##
django-unused creates a management command `unused`.
The command has three basic sub commands: `templates`, `views`, and `media`
`unused templates`
: A semantic personal publishing platform
**templates**
python manage.py unused templates
**views**
python manage.py unused views
**media (currently not implemented)**
python manage.py unused media
## Testing ##
Just run tox.
tox
###### Upload to PyPI ######
Just to remind myself:
python setup.py bdist_wheel --universal
twine upload dist/*
Metadata
Release files for django-unused 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_unused-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_unused-0.1.4-py2.py3-none-any.whl |
Release files / django_unused-0.1.4-py2.py3-none-any.whl
| Download URL | django_unused-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d904668f0c79bc593d267065fa9b5aaea3a8b51328c25eff2ffc857c2d0ee993
|
|
BLAKE2b-256 checksum How to use checksums |
04d171bdef114cf0c36c6ecf8816e89c9342eabe7db819d170c2e61d6ff5c8dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-unused 0.1.4
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.