|
5 | 5 | from django.contrib import admin |
6 | 6 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns |
7 | 7 | from django.urls import include, path, re_path |
8 | | -from django.views.generic.base import TemplateView |
| 8 | +from django.views.generic.base import RedirectView, TemplateView |
9 | 9 |
|
10 | 10 | from apps.cms.views import custom_404 |
11 | 11 | from apps.downloads.views import ReleaseEditButton |
|
35 | 35 | path("blogs/", include("apps.blogs.urls")), |
36 | 36 | path("inner/", TemplateView.as_view(template_name="python/inner.html"), name="inner"), |
37 | 37 | # other section landing pages |
| 38 | + path( |
| 39 | + "psf/sponsorship-old/", |
| 40 | + RedirectView.as_view(url="/psf/sponsors/", permanent=True), |
| 41 | + ), |
| 42 | + path( |
| 43 | + "psf/forms/sponsor-application/", |
| 44 | + RedirectView.as_view(url="/sponsors/application/", permanent=True), |
| 45 | + ), |
38 | 46 | path("psf-landing/", TemplateView.as_view(template_name="psf/index.html"), name="psf-landing"), |
39 | 47 | path("psf/sponsors/", TemplateView.as_view(template_name="psf/sponsors-list.html"), name="psf-sponsors"), |
40 | 48 | path("docs-landing/", TemplateView.as_view(template_name="docs/index.html"), name="docs-landing"), |
|
0 commit comments