Opened 13 years ago
Last modified 13 years ago
#244 new enhancement
Label dev sites
| Reported by: | adehnert | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Sometime |
| Component: | Infrastructure | Version: | |
| Keywords: | Cc: | ||
| Size: | small |
Description
Every once in a while people discover https://asa.scripts.mit.edu/forms/ (or possibly one of the other dev sites) and try to submit things (like FYSM entries) there. Maybe we should stick a big "This is a dev site. You may want the [link]production DB instead." when PRODUCTION_DEPLOYMENT is false.
Change History (2)
comment:1 Changed 13 years ago by adehnert
comment:2 Changed 13 years ago by adehnert
- Size changed from tiny to small
Note: See
TracTickets for help on using
tickets.
Making PRODUCTION_DEPLOYMENT turns accessible out to be harder than one might hope --- http://stackoverflow.com/questions/433162/can-i-access-constants-in-settings-py-from-templates-in-django has some approaches.