Migration steps
Step 1: Install the new agent and remove the old one
# install new agent
pip3 install forestadmin-agent-django
# uninstall the old one
pip3 uninstall django-forestadminStep 2: Modify the settings
FOREST = {
'FOREST_ENV_SECRET': 'env secret variable',
'FOREST_AUTH_SECRET': 'auth secret variable'
}FOREST_ENV_SECRET = 'env secret variable',
FOREST_AUTH_SECRET = 'auth secret variable'urlpatterns = [
path('forest', include('django_forest.urls')),
# ...
# if you had any smart view with declared urls, you can remove them
# path('forest', include('app.urls')),
]urlpatterns = [
path("", include("forestadmin.django_agent.urls")),
# ...
]Step 3: Agent customization
Last updated