We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee1041 commit 22784f7Copy full SHA for 22784f7
docs/fields/json.md
@@ -32,7 +32,7 @@ Once we have this encoder, we will use it in the field definition in the `models
32
from django.db import models
33
from django.utils.translation import gettext_lazy as _
34
35
-class CustomMoodel(models.Model):
+class CustomModel(models.Model):
36
data = models.JSONField(_("data"), null=True, blank=True, encoder=PrettyJSONEncoder)
37
```
38
@@ -45,7 +45,7 @@ from django.contrib import admin
45
from unfold.admin import ModelAdmin
46
47
48
-@admin.register(CustomMoodel)
+@admin.register(CustomModel)
49
class CustomAdminClass(ModelAdmin):
50
readonly_fields = ["data"]
51
0 commit comments