Skip to content

Commit 9c0794a

Browse files
committed
Remove "patterns" util from test urls
1 parent 3c984a4 commit 9c0794a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

djangosaml2/tests/urls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from django.conf.urls import patterns, include, url
15+
from django.conf.urls import include, url
1616
from django.contrib import admin
1717

1818
from djangosaml2 import views
1919

2020

21-
urlpatterns = patterns(''
21+
urlpatterns = [
2222
url(r'^login/$', views.login, name='saml2_login'),
2323
url(r'^acs/$', views.assertion_consumer_service, name='saml2_acs'),
2424
url(r'^logout/$', views.logout, name='saml2_logout'),
@@ -28,4 +28,4 @@
2828

2929
# this is needed for the tests
3030
url(r'^admin/', include(admin.site.urls)),
31-
)
31+
]

0 commit comments

Comments
 (0)