<NME> urls_api_v2.py
<BEF> """External API urls."""

from django.urls import include, path

from modoboa.core.extensions import exts_pool

app_name = "api"

urlpatterns = [
    path('', include("modoboa.core.api.v2.urls")),
    path('', include("modoboa.admin.api.v2.urls")),
    path('', include("modoboa.parameters.api.v2.urls")),
    path('', include("modoboa.limits.api.v1.urls")),
    path('', include("modoboa.relaydomains.api.v1.urls")),
    path('', include("modoboa.dnstools.api.v2.urls")),
    path('token/refresh/', TokenRefreshView.as_view(),
         name='token_refresh'),
    path('', include("modoboa.core.api.v2.urls")),
    path('', include("modoboa.admin.urls_api")),
    path('', include("modoboa.parameters.api.v2.urls")),
    path('', include("modoboa.limits.urls_api")),
    path('', include("modoboa.relaydomains.urls_api")),

<MSG> Better domain update form.

<DFF> @@ -16,7 +16,7 @@ urlpatterns = [
     path('token/refresh/', TokenRefreshView.as_view(),
          name='token_refresh'),
     path('', include("modoboa.core.api.v2.urls")),
-    path('', include("modoboa.admin.urls_api")),
+    path('', include("modoboa.admin.api.v2.urls")),
     path('', include("modoboa.parameters.api.v2.urls")),
     path('', include("modoboa.limits.urls_api")),
     path('', include("modoboa.relaydomains.urls_api")),

Better domain update form.