Skip to content

Commit

Permalink
docs: typo in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Mar 25, 2023
1 parent 714847d commit 749a87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class CustomAdminClass(ModelAdmin):
**Note:** Registered admin models coming from third party packages are not going to properly work with Unfold because of parent class. By default, these models are registered by using `django.contrib.admin.ModelAdmin` but it is needed to use `unfold.admin.ModelAdmin`. Solution for this problem is to unregister model and then again register it back by using `unfold.admin.ModelAdmin`.

```python
# admin.opy
# admin.py
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User
Expand Down

0 comments on commit 749a87c

Please sign in to comment.