Py-django-annoying

Jul 20, 2023

Eliminate annoying things in the Django framework

This is a django application that tries to eliminate annoying things in the Django framework.

Features

render_to decorator - reduce typing in django views.
signals decorator - allow use signals as decorators.
ajax_request decorator - returns JsonResponse with this dict as content.
autostrip decorator - strip text form fields before validation.
get_object_or_None function - similar to get_object_or_404, but
returns None if object not found.
get_config function - get settings from django.conf if exists,
return default value otherwise.
AutoOneToOne field - creates related object on first call if it
doesn't exist yet.
HttpResponseReload - reload and stay on same page from where request
was made.
StaticServer middleware - instead of configuring urls.py, just
add this middleware and it will serve you static files.
JSONField - custom field that lets you easily store JSON data in one of
your model fields.


Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)