Add new app 'help' for user support

This commit adds a new model that enhances the user profile with an
offline support code, a postal address and an email address to allow
users to reset their profile.

The commit adds to Django admin commands 'populate' and
'reset_offline_code' to maintain the help user profiles from the Django
command line.
This commit is contained in:
Jan Dittberner 2023-04-16 12:20:37 +02:00
parent 4b7e311c62
commit f9ea88cd24
14 changed files with 161 additions and 34 deletions

View file

@ -0,0 +1,8 @@
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class HelpConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "help"
verbose_name = _("User self help")