Source code to qtile.org
HTML Python CSS JavaScript Shell
Switch branches/tags
Nothing to show
Latest commit b8ec5d9 Mar 21, 2017 @tych0 tych0 don't expose the django secret key to the world
Best writeup of this is probably Dario's email to me:

I thought I'd bring to your attention the fact that the qtile.org repo on
Github is exposing a Django SECRET_KEY in [1]. I don't know if that's the
actual key used, but if it is it may be better to import it from a separate
gitignored module. A bonus would be to also change it to a new string, if
possible, see also [2], [3] and [4].

[1] https://github.com/qtile/qtile.org/blob/master/qtile/settings/common.py#L22
[2] https://docs.djangoproject.com/en/1.10/topics/signing/
[3] https://www.quora.com/What-is-the-SECRET_KEY-in-Django-actually-used-for
[4] https://stackoverflow.com/questions/15170637/effects-of-changing-djangos-secret-key

I've just set up a new variable in heroku, and pushed a new version there.

Reported-by: Dario Giovannetti <dariogiova@gmail.com>
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Permalink
Failed to load latest commit information.
bin
data Update screenshots Aug 19, 2014
qtile don't expose the django secret key to the world Mar 21, 2017
.bowerrc
.gitignore Initial commit of the next generation of Qtile.org. Jul 13, 2014
Procfile Gunicorn updates. Jul 14, 2014
README.md Update the README. Aug 19, 2014
bower.json Update navbar style to be analogous to Qtile's bars. Jul 22, 2014
guniconfig.py
manage.py Document a bit how to build this repo Aug 19, 2014
requirements.txt Document a bit how to build this repo Aug 19, 2014
runtime.txt Upgrade to the latest Python 2.7.x Mar 21, 2017

README.md

Qtile.org

Qtile.org is a powered by Django and hosted on Heroku.

Setup Instructions

Requirements

  1. Bower
  2. LessCSS
  3. Python 2.x

Running Locally

  1. Install requirements

    pip install -r requirements.txt
    bower update
    
  2. Create screenshot thumbnails

    python manage.py process_screenshots
    
  3. Run the development server

    python manage.py runserver
    

Contributing

Contributing is easy: fork this repository on Github, make your changes, and make a pull request.

Screenshots (& Configurations)

  1. Drop your screenshot image into qtile/static/img/screenshots/
  2. Add your screenshot (and a link to your config, if applicable) to data/Screenshot.yaml

Note: You'll need to re-run python manage.py process_screenshots for your updated screenshot thumbnail to display locally.

Videos

  1. Add a link to your video (on YouTube, Vimeo, etc) to data/Video.yaml