From 8c82c27483a53ccb017d67c62ee6deab21c907df Mon Sep 17 00:00:00 2001 From: Skia Date: Mon, 24 Apr 2017 17:35:39 +0200 Subject: [PATCH] Add helpers in CONTRIBUTING --- CONTRIBUTING.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 590b8d7d..3d8e504a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,3 +41,13 @@ Sites et doc cools ------------------ [Classy Class-Based Views](http://ccbv.co.uk/projects/Django/1.8/) + +Helpers: + +`./manage.py makemessages --ignore "env/*" -e py,jinja` + +`for f in $(find . -name "*.py" ! -path "*migration*" ! -path "./env/*" ! -path "./doc/*"); do cat ./doc/header.py "$f" > /tmp/temp && mv /tmp/temp "$f"; done` + + + +