This way instead of having to explicitly add releases to the urls.py file, we just add the relase to the static_templates/press_releases directory and the right thing happens. Getting rid of the current "feature" where /pressrelease redirects to the current press release. It was broken, looks like it's unused. Limitation: release file name must match slug, but with underscores and all lower case. Why bother? I wanted to do something small to learn the edX toolchain.
| Name |
Last commit
|
Last update |
|---|---|---|
| cms | Loading commit data... | |
| common | Loading commit data... | |
| doc | Loading commit data... | |
| docs | Loading commit data... | |
| fixtures | Loading commit data... | |
| jenkins | Loading commit data... | |
| lms | Loading commit data... | |
| proxy | Loading commit data... | |
| test_root | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| .pep8 | Loading commit data... | |
| .pylintrc | Loading commit data... | |
| .ruby-version | Loading commit data... | |
| Gemfile | Loading commit data... | |
| LICENSE.TXT | Loading commit data... | |
| README | Loading commit data... | |
| __init__.py | Loading commit data... | |
| apt-packages.txt | Loading commit data... | |
| apt-repos.txt | Loading commit data... | |
| brew-formulas.txt | Loading commit data... | |
| create-dev-env.sh | Loading commit data... | |
| distribute-0.6.32.tar.gz | Loading commit data... | |
| distribute-0.6.34.tar.gz | Loading commit data... | |
| github-requirements.txt | Loading commit data... | |
| install-system-req.sh | Loading commit data... | |
| install.txt | Loading commit data... | |
| local-requirements.txt | Loading commit data... | |
| pre-requirements.txt | Loading commit data... | |
| rakefile | Loading commit data... | |
| repo-requirements.txt | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| run.sh | Loading commit data... | |
| run_watch_data.py | Loading commit data... | |
| runone.py | Loading commit data... | |
| setup-test-dirs.sh | Loading commit data... | |
| setup.py | Loading commit data... | |
| test-requirements.txt | Loading commit data... |