Skip to content

Commit

Permalink
Merge branch 'master' into zshkoor/django42-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft authored Sep 26, 2023
2 parents d215bf0 + b96fc82 commit 24dc51b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
# excluding mysql5.7 with Django 4.2 since Django 4.2 has
# dropped support for MySQL<8
exclude:
- django-version: 'django42'
- tox-env: 'django42'
db-version: 'mysql57'


steps:
- uses: actions/checkout@v2

Expand Down
16 changes: 8 additions & 8 deletions submission_queue/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.urls import re_path
from django.urls import path

from submission_queue.ext_interface import (get_queuelen, get_submission,
put_result)
Expand All @@ -8,21 +8,21 @@
# General
# ------------------------------------------------------------
urlpatterns = [
re_path(r'^login/$', log_in),
re_path(r'^logout/$', log_out),
re_path(r'^status/$', status),
path('login/', log_in),
path('logout/', log_out),
path('status/', status),
]

# LMS-facing interface for queue requests
# ------------------------------------------------------------
urlpatterns += [
re_path(r'^submit/$', submit),
path('submit/', submit),
]

# External pulling interface
# ------------------------------------------------------------
urlpatterns += [
re_path(r'^get_queuelen/$', get_queuelen),
re_path(r'^get_submission/$', get_submission),
re_path(r'^put_result/$', put_result),
path('get_queuelen/', get_queuelen),
path('get_submission/', get_submission),
path('put_result/', put_result),
]
5 changes: 3 additions & 2 deletions xqueue/urls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django.urls import include, re_path
from django.urls import path
from django.urls import include

urlpatterns = [
re_path(r'^xqueue/', include('submission_queue.urls')),
path('xqueue/', include('submission_queue.urls')),
]

0 comments on commit 24dc51b

Please sign in to comment.