Skip to content

Commit dc7ac74

Browse files
Update Django example
1 parent 4b69781 commit dc7ac74

File tree

26 files changed

+121
-129
lines changed

26 files changed

+121
-129
lines changed

examples/server/wsgi/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ time to the page.
2424
This is an ideal application to measure the performance of the different
2525
asynchronous modes supported by the Socket.IO server.
2626

27-
django_example
28-
--------------
27+
django_socketio
28+
---------------
2929

3030
This is a version of the "app.py" application described above, that is based
3131
on the Django web framework.

examples/server/wsgi/django_example/django_example/urls.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/server/wsgi/django_example/manage.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/server/wsgi/django_example/requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/server/wsgi/django_example/socketio_app/management/commands/__init__.py

Whitespace-only changes.

examples/server/wsgi/django_example/socketio_app/management/commands/runserver.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/server/wsgi/django_example/socketio_app/migrations/__init__.py

Whitespace-only changes.

examples/server/wsgi/django_example/socketio_app/urls.py

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
django-socketio
2+
===============
3+
4+
This is an example Django application integrated with Socket.IO.
5+
6+
You can run it with the Django development web server:
7+
8+
```bash
9+
python manage.py runserver
10+
```
11+
12+
When running in this mode, you will see a warning indicating that the WebSocket
13+
transport is not available, which is not supported by this web server.
14+
15+
See the documentation for information on supported deployment methods that you
16+
can use to add support for WebSocket.
File renamed without changes.

0 commit comments

Comments
 (0)