Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HN Office Hours
JavaScript Python PHP
branch: master
Failed to load latest commit information.
apps fuck it
deploy merge
media make css for listing skills global instead of just in index
templates added search functionality
.gitignore Merge branch 'master' of github.com:ezl/hnofficehours
LICENSE add MIT license
README.rst deal with settings_local.py
__init__.py init vanilla django project
context_processors.py Made context processor to control the output timezone for templates.
initial_data.yaml killed all fixtures that used contenttype
manage.py
production-settings.py setting DEBUG=True in production settings. don't try this at home
retrieve_hn_user_data.py fail gracefully when looking for non-existent HN user
settings.py Made context processor to control the output timezone for templates.
settings_local.copy added timezones to settings_local installed apps
urls.py added search functionality
views.py added search functionality

README.rst

Settings and settings_local.copy

To set up your local development server, copy the file settings_local.copy to settings_local.py. In settings_local.py, you can set whatever Django settings you need to customize without affecting the global settings.py file, which contains settings that will also be used in production.

There is a snippet of code at the bottom of settings.py that will check if your settings_local.py is missing any settings defined in settings.py. It's to help with the problem of repeating yourself in two places, in case you add an entry to a list in settings.py and forget to add it to settings_local.py.

Something went wrong with that request. Please try again.