[k] Add JINJA_CONFIG() to settings.py for string extraction and caching

RESOLVED FIXED in 2.0

Status

task
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: jsocol, Assigned: jsocol)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

We can pretty much just copy and pasted AMO's for now.

http://github.com/jbalogh/zamboni/raw/master/settings.py
This is actually a little more involved than I made it seem before. There are actually changes I needed to make to Tower to work with our, wait for it, character encodings.
Prelim work here: http://github.com/jsocol/kitsune/commit/d90c0d6d48a57a6e4ab10560e2d51815c7e5b9ad

Note that if you actually want to run manage.py extract you'll need to replace clouserw's tower with mine (for now at least):

git://github.com/jsocol/tower.git
I pushed the changes into the main tower repo. Now just
    pip install -Ur requirements-dev.txt
should get everything you need.
Looks good, nothing's broken. Left one nit comment in there.
Fixed the comment, merged to development.

http://github.com/jsocol/kitsune/commit/c71ddcede4fab10200ea0b61a02cf5f36470c77c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.