Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HN Office Hours
JavaScript Python PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
apps
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
__init__.py
context_processors.py
initial_data.yaml
manage.py
production-settings.py
retrieve_hn_user_data.py
settings.py Made context processor to control the output timezone for templates.
settings_local.copy added timezones to settings_local installed apps
urls.py
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.