Skip to content

Commit

Permalink
Merge pull request #436 from creativecommons/django-4-2-doc-urls
Browse files Browse the repository at this point in the history
update Django documentation URLs to 4.2
  • Loading branch information
TimidRobot authored Apr 18, 2024
2 parents 84b1897 + 202db87 commit d3c9cfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ Documentation:
[namespace]: https://github.com/creativecommons/cc-legal-tools-data#legal-tools-namespace
[unportedtemplate]: templates/includes/legalcode_licenses_3.0_unported.html
[cctransifex]: https://www.transifex.com/creativecommons/public/
[djangomodels]: https://docs.djangoproject.com/en/3.2/topics/db/models/
[djangotemplates]: https://docs.djangoproject.com/en/3.2/topics/templates/
[djangomodels]: https://docs.djangoproject.com/en/4.2/topics/db/models/
[djangotemplates]: https://docs.djangoproject.com/en/4.2/topics/templates/


## Importing the existing legal tool text
Expand Down Expand Up @@ -460,7 +460,7 @@ Documentation:
[api30]: https://transifex.github.io/openapi/index.html#section/Introduction
[api30intro]: https://docs.transifex.com/api-3-0/introduction-to-api-3-0
[apisdk]: https://github.com/transifex/transifex-python/tree/devel/transifex/api
[djangotranslation]: https://docs.djangoproject.com/en/3.2/topics/i18n/translation/
[djangotranslation]: https://docs.djangoproject.com/en/4.2/topics/i18n/translation/
[repodata]: https://github.com/creativecommons/cc-legal-tools-data
Expand Down
8 changes: 4 additions & 4 deletions cc_legal_tools/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@


# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases

DATABASES = {
"default": {
Expand All @@ -95,7 +95,7 @@
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
MEDIA_URL = "/media/"

# https://docs.djangoproject.com/en/3.2/topics/logging/
# https://docs.djangoproject.com/en/4.2/topics/logging/
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
Expand Down Expand Up @@ -189,7 +189,7 @@


# Internationalization
# https://docs.djangoproject.com/en/3.2/topics/i18n/
# https://docs.djangoproject.com/en/4.2/topics/i18n/

# Language code for this installation.
LANGUAGE_CODE = "en" # "en" matches our default language code in Transifex
Expand Down Expand Up @@ -293,7 +293,7 @@
USE_TZ = True

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/
# https://docs.djangoproject.com/en/4.2/howto/static-files/
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
Expand Down

0 comments on commit d3c9cfd

Please sign in to comment.