Skip to content

edustaff/django-unused

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published