This project is forked from https://github.com/unfoldadmin/django-unfold with RTL support.
1.using pip to install package
pip install django-unfold-admin
2.add unfold
to settings.py INSTALLED_APPS
:
# settings.py
INSTALLED_APPS = [
"unfold", # before django.contrib.admin
"django.contrib.admin",
.
.
.
]
3.now you can use ModelAdmin
class defined in unfold.admin
in admin.py :
# admin.py
from django.contrib import admin
from unfold.admin import ModelAdmin
@admin.register(MyModel)
class CustomAdminClass(ModelAdmin):
pass
thats that!