Django: Allow admin user to edit site-wide settings?
问题 I have a Django site, and I'd like to allow a couple of site-wide settings: ADMIN_EMAIL - email address for an administrative user REMINDER_TEXT - email text for an email that the site will generate once a week to be edited in the admin interface. What is the most sensible way to do this? Should I store these values in settings.py , or somewhere in the database? This previous SO question seems to be related, but I don't think it's ever been fully answered. Thanks! 回答1: Ideally, settings.py