django-usersettings2
django-usersettings2 copied to clipboard
relation to user
Hi!
I'm insterested in using django-usersettings2. I've followed the documentation and successfuly integrated it into my project.
My use case is to handle site-wide configurations (for example, the version of a javascript library I want a view to use) directly from the admin interface, and have changes take effect immediately (instead of having to reload the settings.py, re-deploy, etc.
I've accomplished that using your code.
My question is about the "user" part in the project name. I see the generated table has a pointer to user, and several variables and function names (usersettings
, get_current_usersettings
, USERSETTINGS_MODEL
) seem to imply that these settings are user dependant.
I do not want that, though. To me it doesn't matter who edits these site wide settings (as long as they are authorized), the settings should be applied to any other user visiting the web page.
Now, don't get me wrong, this is what I am getting (the user doesn't matter!). The question is: Am I missing something? Is this supposed to work on a per-user basis?
Thanks!