Skip to content

eamonnfaherty/django-htmltemplate-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-htmltemplate-checks

django-htmltemplate-checks is a Django application that adds basic checks to your html for quality assurance.

Checks

  • check_a_tags - checks a tags for alt attributes
  • check_img_tags - checks img tags for title attributes

Requirements

  • any version of Django, but was tested with Django 1.3
  • needs BeautifulSoup for HTML parsing.

Installation

  1. pip install django-htmltemplate-checks
  2. Add 'htmltemplate' to the INSTALLED_APPS in your project's settings.py

To uninstall, simply comment out or remove the 'htmltemplate' line in your INSTALLED_APPS

Running

  • manage.py check_a_tags
  • manage.py check_img_tags

About

checks for good quality html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published