Skip to content

Commit

Permalink
csvs: Redirect old csv urls to current ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Mar 5, 2025
1 parent af87c2d commit 9276e75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iati_dashboard/ui/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@
r"org_type\/(\S*).html",
RedirectView.as_view(pattern_name="dash-exploringdata-orgtypes-detail", permanent=True),
),
path(
"<slug:file_start>.csv",
RedirectView.as_view(url="/generated/data/csv/%(file_start)s.csv", permanent=False),
),
]
+ static("generated", document_root="out")
+ static("stats", document_root="stats-calculated")
Expand Down

0 comments on commit 9276e75

Please sign in to comment.