Skip to content

Commit

Permalink
Add waffle switch for applications list endpoint (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtisza1 authored Apr 11, 2019
1 parent ce5269b commit c096c05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/wellknown/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
from django.conf.urls import url
from waffle.decorators import waffle_switch
from .views import openid_configuration, ApplicationListView


urlpatterns = [
url(r'^openid-configuration$',
openid_configuration,
name='openid-configuration'),
url(r'^applications$', ApplicationListView.as_view(), name='applications-list'),
url(r'^applications$',
waffle_switch('wellknown_applications')(ApplicationListView.as_view()),
name='applications-list'),
]

0 comments on commit c096c05

Please sign in to comment.