-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenConceptLab/ocl_issues#1841 | not using any pattern for kwargs in …
…url | repo version can accept special characters | uri will be encoded
- Loading branch information
1 parent
ce51b0a
commit fdac087
Showing
19 changed files
with
525 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
from django.urls import re_path | ||
from django.urls import path | ||
|
||
from core.common.constants import NAMESPACE_PATTERN | ||
from . import views | ||
|
||
urlpatterns = [ | ||
re_path(r'^$', views.CodeSystemListView.as_view(), name='code-system-list'), | ||
re_path(r'^\$lookup/$', views.CodeSystemListLookupView.as_view(), name='code-system-list-lookup'), | ||
re_path(r'^\$validate-code/$', views.CodeSystemValidateCodeView.as_view(), | ||
name='code-system-validate-code'), | ||
re_path( | ||
fr"^(?P<source>{NAMESPACE_PATTERN})/$", | ||
views.CodeSystemRetrieveUpdateView.as_view(), | ||
name='code-system-detail' | ||
) | ||
path('', views.CodeSystemListView.as_view(), name='code-system-list'), | ||
path('$lookup/', views.CodeSystemListLookupView.as_view(), name='code-system-list-lookup'), | ||
path('$validate-code/', views.CodeSystemValidateCodeView.as_view(), name='code-system-validate-code'), | ||
path("<str:source>/", views.CodeSystemRetrieveUpdateView.as_view(), name='code-system-detail') | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.