flashingpumpkin

Joined 17 years ago

Karma
601
Submissions
110
Member since
May 4
Coder
View on Hacker News

Recent submissions

Comment · 13 years ago
I've got to disagree with the chapter about settings files. Instead of maintaining multiple different settings for different environments, make your default settings file pull modifications for each environment from os.environ, e.g.:

  STATIC_URL = os.environ.get('STATIC_URL', '/static/')
This is a lot saner and won't descend into a mess that is keeping multiple settings files around. It's also a lot easier to explain.
Comment · 13 years ago
Comment · 14 years ago
Comment · 14 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton