Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions ee/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ def extend_api_router() -> None:
except NotRegistered:
pass

from posthog.admin.admins.distinct_id_usage_admin import distinct_id_usage_view
from posthog.admin.admins.notebook_markdown_migration_admin import (
notebook_markdown_migration_run_view,
notebook_markdown_migration_stats_view,
notebook_markdown_migration_view,
)
from posthog.admin.admins.tophog_admin import tophog_dashboard_view, tophog_restrictions_view
from posthog.admin.console.urls import urlpatterns as console_urlpatterns

Expand All @@ -91,7 +85,7 @@ def extend_api_router() -> None:
),
path(
"admin/distinct-id-usage/",
admin.site.admin_view(distinct_id_usage_view),
MovedToConsole.page_redirect("Distinct ID usage", "/admin/console/tools/distinct-id-usage/"),
name="distinct-id-usage",
),
path(
Expand Down Expand Up @@ -126,18 +120,23 @@ def extend_api_router() -> None:
),
path(
"admin/notebook-markdown-migration/",
admin.site.admin_view(notebook_markdown_migration_view),
MovedToConsole.page_redirect(
"Markdown notebook migration", "/admin/console/tools/notebook-markdown-migration/"
),
name="notebook-markdown-migration",
),
# The old page fetched these JSON endpoints itself, so a bookmark of one lands on the tool page.
path(
"admin/notebook-markdown-migration/stats/",
admin.site.admin_view(notebook_markdown_migration_stats_view),
name="notebook-markdown-migration-stats",
MovedToConsole.page_redirect(
"Markdown notebook migration", "/admin/console/tools/notebook-markdown-migration/"
),
),
path(
"admin/notebook-markdown-migration/run/",
admin.site.admin_view(notebook_markdown_migration_run_view),
name="notebook-markdown-migration-run",
MovedToConsole.page_redirect(
"Markdown notebook migration", "/admin/console/tools/notebook-markdown-migration/"
),
),
path(
"admin/logout/",
Expand Down
1 change: 1 addition & 0 deletions frontend/public/admin-console/crests/data-tools.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/public/admin-console/crests/ingestion.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading