-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugs/WP-789: Extension Edit Modal (#382)
* WP-789:Extension Edit Modal fixes * New api is only for admin users * Remove print * handle "None" for expiration date
- Loading branch information
1 parent
9828bc1
commit 3cdd1a6
Showing
7 changed files
with
148 additions
and
122 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
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,10 +1,10 @@ | ||
from django.urls import path | ||
from apps.common_api.views import EntitiesView, cdlsView | ||
from . import views | ||
from apps.common_api.views import EntitiesView, cdlsView, DataPeriodsView | ||
|
||
app_name = 'common_api' | ||
urlpatterns = [ | ||
path('entities/', EntitiesView.as_view(), name='entities_api'), | ||
path('cdls/', cdlsView.as_view(), name='cdls_api'), | ||
path('cdls/<str:file_type>', cdlsView.as_view(), name='cdls_api') | ||
path('cdls/<str:file_type>', cdlsView.as_view(), name='cdls_api'), | ||
path('data_periods/', DataPeriodsView.as_view(), name='dataperiods_api') | ||
] |
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.