Hanne Moa
Hanne Moa
> We should really add 3.13 to this also :) Nah, we need to be up and running on Django 5.2 first. 4.2 only supports up to and including 3.12.
Here's a solution to the USE_L10N-flag disappearing: https://docs.djangoproject.com/en/5.2/topics/i18n/formatting/#creating-custom-format-files
> Nice, I like where this is going :), Do you want to make `spa` an app? It doesn't need to be. It has no models, templates, static files, template...
test_CI.py had DOS line ends which really sucks when "git add -p" with new code that has unix line ends. The commit "Strip \r from lineends" needs to go in...
Replaced by #907
> ```python > class MyPreferences(Preferences, namespace='my_prefs): > pass > ``` > > ```python > class Preferences(model.Model): > def __init_subclass__(cls, **kwargs): > namespace = kwargs['namespace'] > ... > ``` > >...
> > > Although I guess the latter method may not work, since you'd not have the namespace available on the subclass anymore > > > > That should just...
> One thing I am uncertain about: We have the constraint in preferences that the user and namespace together need to be unique, is this ensured somewhere to avoid that...
#1449 makes it easy to toggle `is_active` from CLI.
We do not delete users, only set them as `is_active = False`. If GDPR-delete needed, erase info from the user row instead of hard delete.