0b54f5cc1a
Namespace podjango static files, use includes to reduce duplication, enable staticfiles app
2023-10-06 16:35:36 +11:00
c0acfde9c3
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
1e494a4e11
Update template BASE_DIR now settings have moved in a directory
2023-10-05 17:45:36 +11:00
6b95646cc7
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
fb9e7242b5
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
9f87feb19d
Add postfix to ansible config
2023-09-14 23:44:10 +10:00
053504d099
Update "cleanup" and "update" services for Python 3
2023-09-14 18:14:22 +10:00
cf3d7c6100
Add support for Debian Bookworm
2023-09-13 13:33:27 +10:00
9e39d7eadc
Apply pyupgrade --py36-plus
(but skip f-strings as we're on Python 3.5)
2023-09-07 23:15:48 +10:00
6cb46c61d1
Add initial fossy app
2023-01-31 11:22:26 +11:00
5bef923cfe
Revert local development settings committed.
...
This reverts commit adf2229720
.
2022-01-11 09:17:55 +11:00
adf2229720
Rename __unicode__ methods to __str__ following Django upgrade.
2022-01-11 09:13:46 +11:00
d11ed137fa
Fix Django warning about old TEMPLATES_* settings.
2021-12-17 18:35:50 +11:00
0565f9b308
Update the assignment form with feedback from Pam/Denver.
2021-12-07 16:55:45 +11:00
843b24c63a
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