/django-FIUT

Fine, Incredibly Useful Tools

Primary LanguagePythonMIT LicenseMIT

Code Health

Fine, Incredibly Useful Tools

helpers

  • simple_send_email() - send email in one (very long) line
  • get_page_and_paginator() - get page with first and last few pages and paginator objects
  • slugify() - better slugify - handle ł and Ł!
  • unix_time - get unix time

forms

  • SelectDateWithNoneWidget() - select date with None form widget

    Example: select date widget

context processors

  • settings_values - settings values in templates!

    Example usage:

    {{ settings.DATABASES.default.PASSWORD }}