# Automating the Boring Stuff in Django Using the Check Framework

DevFeed: [Automating the Boring Stuff in Django Using the Check Framework](<https://devfeed.tech/articles/automating-the-boring-stuff-in-django-using-the-check-framework-33889.md>)

Original publisher: [Read original article](<https://hakibenita.com/automating-the-boring-stuff-in-django-using-the-check-framework>)

Author: Haki Benita

Published: 2018-06-04T21:00:00Z

Content type: tutorial

Language: en

Sources: [Haki Benita](<https://devfeed.tech/sources/haki-benita.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Localization (l10n)](<https://devfeed.tech/topics/localization.md>), [Python](<https://devfeed.tech/topics/python.md>), [Development](<https://devfeed.tech/topics/development.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [articles](<https://devfeed.tech/tags/articles.md>), [database](<https://devfeed.tech/tags/database.md>), [development](<https://devfeed.tech/tags/development.md>), [django](<https://devfeed.tech/tags/django.md>), [framework](<https://devfeed.tech/tags/framework.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [python](<https://devfeed.tech/tags/python.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>)

## AI overview

This tutorial explains how to use Django's extensible system check framework with Python's inspect and ast modules to enforce project-specific development rules. It demonstrates automating checks such as requiring verbose names on model fields, particularly for localization workflows.

## Source excerpt

Every team has a unique development style. Some teams implement localization and require translations. Some teams are more sensitive to database issues and require more careful handling of indexes and constraints. In this article we describe how we enforce our own development style using the Django check framework, the inspect and the ast modules from the Python standard library.