{"repo":"jedie/django-tools","free":true,"listed":false,"github":"https://github.com/jedie/django-tools","clone":"git clone https://github.com/jedie/django-tools.git","description":"miscellaneous django tools","language":"Python","stars":133,"topics":["django","python","helpers"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"Miscellaneous tools for django. Look also at the siblings project: django-cms-tools (Tools/helpers around Django-CMS). + + + + + (Logo contributed by @reallinfo see #16) try-out e.g.: existing stuff Serve User Media File Serve settings.MEDIA ROOT files only for allowed users. See separate README here: django tools/serve media app Mode Version Protect Protect a model against overwriting a newer entry with an older one, by adding a auto increment version number. See separate README here: django tools/model version protect OverwriteFileSystemStorage A django filesystem storage that will overwrite existing files and can create backups, if content changed. usage: Backup made by appending a suffix and sequential number, e.g.: source....: foo.bar backup 1..: foo.bar.bak backup 2..: foo.bar.bak0 backup 3..: foo.bar.bak1 Backup files are only made if file content changed. But at least one time! Django Logging utils Put this into your settings, e.g.: (Activate warnings by, e.g.: export PYTHONWARNINGS=all ) ThrottledAdminEmailHandler ThrottledAdminEmailHandler works similar as the origin django.utils.log.AdminEmailHandler but is will throttle the number of mails that can be send in a time range. usage e.g.: django tools.template.loader.DebugCacheLoader Insert template name as html comments, e.g.: To use this, you must add django tools.template.loader.DebugCacheLoader as template loader. e.g.: Activate it only in DEBUG mode: send text+html mails A helper class to send text+html mails use","default_branch":null,"files":null,"tree":[],"storefront":"/r/jedie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jedie/django-tools/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}