Skip to content

Commit 4964bc4

Browse files
committed
Fix links in docs
1 parent 5d953ef commit 4964bc4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ would render **10E5**.
344344
.. _Babel: http://babel.pocoo.org/
345345
.. _Django: https://www.djangoproject.com/
346346
.. _wrapper scripts: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#localization-how-to-create-language-files
347-
.. _Distutils/Setuptools Integration: http://babel.pocoo.org/docs/setup/
348-
.. _Date Formatting: http://babel.pocoo.org/docs/dates/
349-
.. _Number Formatting: http://babel.pocoo.org/docs/numbers/
350-
.. _Locale: http://babel.pocoo.org/docs/api/core/#babel.core.Locale
347+
.. _Distutils/Setuptools Integration: http://babel.pocoo.org/en/stable/setup.html
348+
.. _Date Formatting: http://babel.pocoo.org/en/stable/dates.html
349+
.. _Number Formatting: http://babel.pocoo.org/en/stable/numbers.html
350+
.. _Locale: http://babel.pocoo.org/en/stable/api/core.html#babel.core.Locale

django_babel/middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
def get_current_locale():
1717
"""Get current locale data outside views.
1818
19-
See http://babel.pocoo.org/docs/api/core/#babel.core.Locale for Locale
20-
objects documentation
19+
See http://babel.pocoo.org/en/stable/api/core.html#babel.core.Locale
20+
for Locale objects documentation
2121
"""
2222
return getattr(_thread_locals, 'locale', None)
2323

0 commit comments

Comments
 (0)