8000 pattern no longer supported · stephenmcd/django-socketio@d2ce8ce · GitHub
[go: up one dir, main page]

Skip to content

Commit d2ce8ce

Browse files
committed
pattern no longer supported
The old syntax using urlpattern = pattern('', url(...)) is deprecated : https://docs.djangoproject.com/en/1.8/internals/deprecation/#deprecation-removed-in-1-10 It might cause problems for users trying to make it work on newer versions of Django
1 parent 81ad5eb commit d2ce8ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ from source::
8888
Once installed you can then add ``django_socketio`` to your
8989
``INSTALLED_APPS`` and ``django_socketio.urls`` to your url conf::
9090

91-
urlpatterns = patterns('',
91+
urlpatterns += [
9292
url("", include('django_socketio.urls')),
93-
)
93+
]
9494

9595
The client-side JavaScripts for Socket.IO and its extensions can then
9696
be added to any page with the ``socketio`` templatetag::

0 commit comments

Comments
 (0)
0