Awl
1.9.0
  • Abstract Models
  • Admin Tools
  • Installable Django App Tools
  • Context Processors
  • CSS Colours
  • View Decorators
  • Django Commands
  • Models
  • RankedModel
  • RankedModel Admin
  • Template Tags & Filters
  • Utilities
  • Waelsteng
  • Release Notes
Awl
  • django-awl
  • View page source

django-awl

Yet another catch-all of tools for django. Includes utilities for admin, context processors, CSS colours, view and model mixins, template tags and unit testing.

Installation

$ pip install django-awl

INSTALLED_APPS = [
    ...
    "awl",
]

Supports

django-awl has been tested with:

  • Django 4.2 using Python 3.9, 3.10, 3.11, 3.12, 3.13

  • Django 5.1 using Python 3.10, 3.11, 3.12, 3.13

  • Django 5.2 using Python 3.10, 3.11, 3.12, 3.13

Docs & Source

Docs: http://django-awl.readthedocs.io/en/latest/

Source: https://github.com/cltrudeau/django-awl

Version: 1.9.0

Contents

  • Abstract Models
    • TimeTrackModel
    • ValidatingMixin
  • Admin Tools
    • FancyModelAdmin
    • admin_obj_attr()
    • admin_obj_link()
    • fancy_modeladmin()
    • make_admin_obj_mixin()
  • Installable Django App Tools
    • boot_django()
  • Context Processors
    • extra_context()
  • CSS Colours
    • colour_to_rgb()
    • colour_to_rgb_string()
    • is_colour()
  • View Decorators
    • json_post_required()
    • post_required()
  • Django Commands
    • Command
    • Command
    • Command
    • Command
  • Models
    • Choices
    • Counter
    • Lock
    • QuerySetChain
  • RankedModel
    • RankedModel
  • RankedModel Admin
    • admin_link_move_down()
    • admin_link_move_up()
    • admin_move_links()
  • Template Tags & Filters
    • accessor()
    • getitem()
    • jsonify()
    • nop()
    • qif()
    • qifelse()
  • Utilities
    • URLTree
    • get_field_names()
    • get_obj_attr()
    • refetch()
    • refetch_for_update()
    • render_page()
    • render_page_to_string()
  • Waelsteng
    • Testing Django Views
    • Testing Admin Classes
    • WRunner
  • Release Notes

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2015-2025, Christopher Trudeau.

Built with Sphinx using a theme provided by Read the Docs.