Finds unused templates in Django
Project description
# django-unused
[![Build Status](https://travis-ci.org/edustaff/django-unused.svg?branch=master)](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/*
[![Build Status](https://travis-ci.org/edustaff/django-unused.svg?branch=master)](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/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_unused-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d904668f0c79bc593d267065fa9b5aaea3a8b51328c25eff2ffc857c2d0ee993 |
|
MD5 | b5ccc7fd1004da2bed93d78ece81ca0e |
|
BLAKE2b-256 | 04d171bdef114cf0c36c6ecf8816e89c9342eabe7db819d170c2e61d6ff5c8dd |