Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and Ninjaclasher committed Dec 27, 2024
1 parent 2a15b48 commit e150610
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/caniuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- name: Download Can I use... data
run: |
curl -s https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json | python3 -m json.tool > resources/caniuse.json
curl -s https://raw.githubusercontent.com/Fyrd/caniuse/main/data.json | python3 -m json.tool > resources/caniuse.json
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
Expand All @@ -19,7 +19,7 @@ jobs:
committer: dmoj-build <[email protected]>
title: Import latest Can I use... data
commit-message: Import latest Can I use... data
body: This PR has been auto-generated to pull in the latest copy of Can I use... `data.json` from [upstream](https://github.com/Fyrd/caniuse/blob/master/data.json).
body: This PR has been auto-generated to pull in the latest copy of Can I use... `data.json` from [upstream](https://github.com/Fyrd/caniuse/blob/main/data.json).
labels: compat
reviewers: Xyene, quantum5
branch: update-caniuse
2 changes: 1 addition & 1 deletion django_ace/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Django-ace originally from https://github.com/bradleyayers/django-ace.
Django-ace originally from https://github.com/django-ace/django-ace.
"""

from .widgets import AceWidget
2 changes: 1 addition & 1 deletion django_ace/widgets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Django-ace originally from https://github.com/bradleyayers/django-ace.
Django-ace originally from https://github.com/django-ace/django-ace.
"""

from urllib.parse import urljoin
Expand Down
12 changes: 6 additions & 6 deletions dmoj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Django settings for dmoj project.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
https://docs.djangoproject.com/en/4.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
https://docs.djangoproject.com/en/4.2/ref/settings/
"""

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
Expand All @@ -19,7 +19,7 @@
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '5*9f5q57mqmlz2#f$x1h76&jxy#yortjl1v+l*6hd18$d*yx#0'
Expand Down Expand Up @@ -508,7 +508,7 @@
MARTOR_UPLOAD_SAFE_EXTS = {'.jpg', '.png', '.gif'}

# 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 @@ -535,7 +535,7 @@
EVENT_DAEMON_SUBMISSION_KEY = '6Sdmkx^%pk@GsifDfXcwX*Y7LRF%RGT8vmFpSxFBT$fwS7trc8raWfN#CSfQuKApx&$B#Gh2L7p%W!Ww'

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

# Whatever you do, this better be one of the entries in `LANGUAGES`.
LANGUAGE_CODE = 'en'
Expand All @@ -549,7 +549,7 @@
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

# 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/

DMOJ_RESOURCES = os.path.join(BASE_DIR, 'resources')
STATICFILES_FINDERS = (
Expand Down
2 changes: 1 addition & 1 deletion judge/jinja2/markdown/bleach_whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
]

all_prefixed_styles = [
# From http://peter.sh/experiments/vendor-prefixed-css-property-overview/
# From https://peter.sh/experiments/vendor-prefixed-css-property-overview/
'-ms-accelerator', '-webkit-app-region', '-webkit-appearance',
'-webkit-appearance', '-moz-appearance', '-webkit-aspect-ratio',
'-webkit-backdrop-filter', 'backface-visibility',
Expand Down
2 changes: 1 addition & 1 deletion judge/widgets/select2.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def media(self):
Construct Media as a dynamic property.
.. Note:: For more information visit
https://docs.djangoproject.com/en/1.8/topics/forms/media/#media-as-a-dynamic-property
https://docs.djangoproject.com/en/4.2/topics/forms/media/#media-as-a-dynamic-property
"""
return forms.Media(
js=[settings.SELECT2_JS_URL, 'django_select2.js'],
Expand Down
2 changes: 1 addition & 1 deletion resources/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (!String.prototype.endsWith) {
};
}

// http://stackoverflow.com/a/1060034/1090657
// https://stackoverflow.com/a/1060034/1090657
$(function () {
var hidden = 'hidden';

Expand Down

0 comments on commit e150610

Please sign in to comment.