-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8425 from cfpb/retirement-spanish-urls
Retirement spanish urls
- Loading branch information
Showing
10 changed files
with
68 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from core.views import TranslatedTemplateView | ||
from retirement_api.views import estimator | ||
|
||
|
||
try: | ||
from django.urls import re_path | ||
except ImportError: | ||
from django.conf.urls import url as re_path | ||
|
||
app_name = "retirement_api_es" | ||
|
||
urlpatterns = [ | ||
re_path( | ||
r"^before-you-claim/mas-sobre/$", | ||
TranslatedTemplateView.as_view( | ||
template_name="retirement_api/about.html", language="es" | ||
), | ||
name="about", | ||
), | ||
re_path( | ||
r"^antes-de-solicitar/$", | ||
TranslatedTemplateView.as_view( | ||
template_name="retirement_api/claiming-es.html", language="es" | ||
), | ||
name="claiming", | ||
), | ||
re_path( | ||
r"^retirement-api/estimator/(?P<dob>[^/]+)/(?P<income>\d+)/$", | ||
estimator, | ||
{"language": "es"}, | ||
name="estimator", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters