Commit graph

26 commits

Author SHA1 Message Date
34e16f55fd Namespace podjango static files, use includes to reduce duplication, enable staticfiles app 2023-10-06 16:35:36 +11:00
6426c9de06 Merge FAIF "podjango" codebase into main sfconservancy.org site
It's a little awkward for now with podjango also having an "apps" module, but we
can clean that up later. I've excluded any JS and HTML that's likely not
required.

To accomodate this merging, I moved the templates into a "podjango" subdirectory
and, added a "podjango" namespace to the URLconf and converted a bunch of
hard-coded links to use the "url" template tag since there will now be a
"/faif/" prefix.
2023-10-05 19:26:42 +11:00
22da921444 Update template BASE_DIR now settings have moved in a directory 2023-10-05 17:45:36 +11:00
e80b30492e Move TEMPLATES, AUTHENTICATION_BACKENDS and MIDDLEWARE into base settings
These don't change, so belong in the base settings.
2023-10-05 17:35:18 +11:00
92e2f38b7a Update ALLOWED_HOSTS for new server
There's no need for the site to be accessed via IP or it's hostname.
2023-09-20 12:45:26 +10:00
4c42823360 Add postfix to ansible config 2023-09-14 23:44:10 +10:00
c0f424cac2 Update "cleanup" and "update" services for Python 3 2023-09-14 18:14:22 +10:00
b59f9c60a5 Add support for Debian Bookworm 2023-09-13 13:33:27 +10:00
82d513b5b7 Apply pyupgrade --py36-plus (but skip f-strings as we're on Python 3.5) 2023-09-07 23:15:48 +10:00
a2df8d81ea Add initial fossy app 2023-01-31 11:22:26 +11:00
611decea77 Revert local development settings committed.
This reverts commit 48e32eab87.
2022-01-11 09:17:55 +11:00
48e32eab87 Rename __unicode__ methods to __str__ following Django upgrade. 2022-01-11 09:13:46 +11:00
67a3e11cc9 Fix Django warning about old TEMPLATES_* settings. 2021-12-17 18:35:50 +11:00
58b38e93c2 Update the assignment form with feedback from Pam/Denver. 2021-12-07 16:55:45 +11:00
c11755a90a Don't send email notification on DisallowedHost error. 2021-11-29 14:21:14 +11:00
Brett Smith
b79a3617f0 settings: Allow localhost in debug mode. 2017-11-07 09:00:48 -05:00
Brett Smith
993f4bc72f settings: Don't FORCE_CANONICAL_HOSTNAME when DEBUG. 2016-12-02 22:17:59 -05:00
Brett Smith
6f540a0e3f Remove hardcoded references to /var/www.
This makes it easier to run the code elsewhere, like a development
environment.
2016-12-02 22:17:42 -05:00
Bradley M. Kuhn
b0bd537efd Add IP number as a valid site. 2015-03-05 07:08:15 -08:00
Bradley M. Kuhn
8080ea7525 Restore to real site. 2015-03-04 15:57:26 -08:00
Tom Marble
2bf594b86c First pass at migration to Django 1.7 2015-03-03 18:40:18 +00:00
Bradley M. Kuhn
6992f63bb4 Test thing for redirect table. 2010-10-11 15:48:17 -04:00
Bradley M. Kuhn
613a018076 Migrated some settings to djangocommonsettings so they can easily be overridden. 2010-09-26 20:26:32 -04:00
Bradley M. Kuhn
698e9324a6 Fixed to be Jim Garrison's copyright per Eben Moglen's directive that all
SFLC employees hold their own copyright on the software they write.
2010-09-26 19:36:39 -04:00
Bradley M. Kuhn
fb307d8cf2 URL and variable name fixes; added license text. 2010-09-26 19:24:38 -04:00
Bradley M. Kuhn
c858e825c0 Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved 2010-09-26 17:20:05 -04:00