Commit graph

15 commits

Author SHA1 Message Date
fa7f227318 Eliminate "conservancy" and "apps" subdirectories
The directory nesting is unnecessary here and confusing to navigate. I've moved
all apps to the project subdirectory, currently called "www", but soon to be
renamed "conservancy".

I've also moved manage.py to the top-level directory.
2023-10-25 12:36:39 +11:00
024b6e1122 Sort Python imports with isort 2023-10-20 09:52:39 +11:00
7f7be02379 Switch to relative imports
The relative imports make it clearer what code is within the project and where
it's coming from.
2023-10-20 09:45:53 +11:00
8058d768fb Add support for Debian Bullseye
Added `on_delete` attributes, updated ForceCanonicalHostnameMiddleware for
compatibility and added Dockerfile for Bullseye.
2023-09-12 10:59:45 +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
98fcf8e35d Remove use of python3-future 2023-09-07 22:59:23 +10:00
48e32eab87 Rename __unicode__ methods to __str__ following Django upgrade. 2022-01-11 09:13:46 +11:00
be7bbf964c Remove unnecessary null=True on ManyToManyFields. 2021-12-17 17:25:38 +11:00
ef02ed4052 Apply futurize --stage-2 Python 2/3 compatibility transformations.
These changes specifically require the use of the "future" library.
2021-11-30 07:55:45 +11:00
49eff7af79 Apply "object" changes only from futurize --stage2. 2021-11-26 13:49:40 +11:00
Bradley M. Kuhn
7f694b2bf9 Correct & update hard-coded domain names from legacy codebase. 2020-01-24 09:26:59 -08:00
Brett Smith
3b2ed8397d blog/news: Add Open Graph metadata to entry pages.
This helps other social media sites generate nice previews for these pages.
2017-11-07 11:17:33 -05:00
Bradley M. Kuhn
1688c69b0f Keep blog posts on front page for 30 days. 2012-02-15 15:13:30 -08:00
Bradley M. Kuhn
f7e45da6dd Adapted Django application stuff for Conservancy; and normalized to string
"conservancy" within code and templates.
2010-09-26 17:54:29 -04:00
Bradley M. Kuhn
8e6ea8ad71 Applications directory from SFLC website; About to adapt it for Conservancy website to run on its own 2010-09-26 17:32:53 -04:00