Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
fix: problems.py reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft committed Oct 6, 2023
1 parent 9046a57 commit c1cbdb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions analytics_data_api/v0/urls/problems.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re

from django.urls import path, re_path
from django.urls import re_path

from analytics_data_api.v0.views import problems as views

Expand All @@ -12,9 +12,9 @@
]

urlpatterns = [
path('<path:module_id>/sequential_open_distribution/',
views.SequentialOpenDistributionView.as_view(),
name='sequential_open_distribution'),
re_path(r'^(?P<module_id>.+)/sequential_open_distribution/$',
views.SequentialOpenDistributionView.as_view(),
name='sequential_open_distribution'),
]

for path, view, name in PROBLEM_URLS:
Expand Down

0 comments on commit c1cbdb8

Please sign in to comment.