Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Code that drives http://django.me/. Be gentle.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 djangome
Octocat-spinner-32 .env
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.txt
Octocat-spinner-32 manage.py
Octocat-spinner-32 requirements.txt
README.txt
http://django.me/<term> -- redirect to the most appropriate doc page for <term>.

Data model:

    redirects:v2:{version}:{term}
        -> a set of all URLs for {term} in version {version}
           e.g.: redirects:v2:1.6:ModelForm

    redirects:v2:{version}:{term}:{url}
        -> the count of hits for {term} that redirected to {url}

    redirects:v2:titles:{url}
        -> the title of {url}

Running locally:

- Install the Heroku toolbelt (to get Forman).
- Edit .env if apropriate (to update the redis info, probably).
- foreman start

Running on Heroku:

    $ heroku addons:add securekey
    $ heroku addons:add rediscloud
    $ heroku config:set ALLOWED_HOSTS=yourapp.herokuapp.com
    $ git push heroku master
Something went wrong with that request. Please try again.