47a30a750a
Sort Python imports with isort
2023-10-20 09:52:39 +11:00
b7e2ce2a4d
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
9e39d7eadc
Apply pyupgrade --py36-plus
(but skip f-strings as we're on Python 3.5)
2023-09-07 23:15:48 +10:00
adf2229720
Rename __unicode__ methods to __str__ following Django upgrade.
2022-01-11 09:13:46 +11:00
457e5739f7
Add unique constraint to Staff.username.
...
Previously had some duplicates for "pono" which were causing
MultipleObjectsReturned errors. A username is generally considered to be unique.
2021-11-29 14:31:26 +11:00
31e51a7742
Apply "object" changes only from futurize --stage2
.
2021-11-26 13:49:40 +11:00
Bradley M. Kuhn
f6bbcc7ee3
Just quit it with this relative import stuff.
...
While I think these relative imports seem to be valid for the running
application, I am having trouble with the django-admin applications
regarding them. I don't see this syntactic sugar as absolutely
essential, so I'm just going to change it now.
2015-03-08 17:54:05 -07:00
Bradley M. Kuhn
3a224ca78e
Correct URLs for /about that reference long-since non-existent "team" directory (patch from Martin Michlmayr <tbm@hp.com>)
2011-10-28 10:43:29 +02: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