Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-unused

Build Status

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

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/*

About

App to find unused templates, views, and media files

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages