Merge branch 'main' into storefront-nuxt
This commit is contained in:
commit
5491873585
2 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
from django.contrib.auth.forms import ReadOnlyPasswordHashField
|
||||
from unfold.forms import UserChangeForm
|
||||
|
||||
from engine.core.widgets import JSONTableWidget
|
||||
|
|
@ -5,6 +6,7 @@ from engine.vibes_auth.models import User
|
|||
|
||||
|
||||
class UserForm(UserChangeForm): # type: ignore [type-arg]
|
||||
password = ReadOnlyPasswordHashField(label="Password")
|
||||
class Meta:
|
||||
model = User
|
||||
fields = "__all__"
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ INSTALLED_APPS: list[str] = [
|
|||
"unfold.contrib.filters",
|
||||
"unfold.contrib.forms",
|
||||
"unfold.contrib.inlines",
|
||||
"unfold_markdown",
|
||||
"unfold.contrib.constance",
|
||||
"unfold.contrib.import_export",
|
||||
"constance",
|
||||
|
|
|
|||
Loading…
Reference in a new issue