Commit Graph

63 Commits

Author SHA1 Message Date
qwitwa
d1590afdcb Fix typo in code in models section (#319)
Changed channel_session['room'] inside websockets consumer function to message.channel_session['room']
2016-09-12 11:59:46 +01:00
Daniel Quinn
a96c6fe9c3 Added a " to close the line (#339)
You may also want to make use of:

```
.. code:: python
```

instead of just `::`.  Sphinx will then do the colour highlighting for you and may have helped catch this.

Ooh, and also, it wasn't immediately obvious to me here that `include` is imported from `from channels.routing`.  You may want to add that to the code sample.
2016-09-07 12:20:58 +01:00
Andrew Godwin
d9e8fb7032 Docs updates 2016-07-18 22:23:33 -04:00
Tommy Beadle
0fe9d2be2b Avoid NameError in example code. (#208)
'room' is used in the Group initialization but was not defined.
2016-06-14 20:41:03 +01:00
Andrew Godwin
3c5c09d639 Expand on static file serving doc line. 2016-06-06 05:09:08 +00:00
thewayiam
18d4cc8e6f #196: made worker serve staticfiles if DEBUG=True (#197) 2016-06-05 22:06:37 -07:00
Oskar Hahn
e0341e65cd Use window.location.host instead of 127.0.0.1 (#178)
See #176
2016-05-29 17:08:33 -07:00
pinguin999
cc9057e90c Split the two files into two code blocks (#167) 2016-05-24 09:19:38 -07:00
pinguin999
c89a6cc9b9 Add pip install comand for asgi_redis (#166) 2016-05-24 09:19:25 -07:00
conor
c9497e74dd Remove unused 'Group' import (#149)
Was this supposed to be here? It isn't used until the next section.
2016-05-10 09:07:39 -07:00
Andrew Godwin
175d13c28b Fix up doc links to removed document 2016-05-07 10:53:05 -07:00
Andrew Godwin
2219546a5d Noun docs changes 2016-05-04 09:20:36 -07:00
Andrew Godwin
ea66b6560b Doc spelling corrections 2016-05-03 18:43:15 -07:00
Andrew Godwin
609adfca8d Fix example with custom channel 2016-04-06 11:15:18 -07:00
Gregor Müllegger
c171cb4346 Fix auth example imports in Gettings Started guide
Removed unused `transfer_user` import and added missing `channel_session_user_from_http` as import.
2016-04-06 08:10:11 -07:00
Andrew Godwin
cf52c922e0 Update getting started to not pass messages back directly 2016-04-05 08:17:30 -07:00
Andrew Godwin
0071ca31c8 More patchinator tweaks. Will do more after 1.0. 2016-04-04 03:34:05 +02:00
Andrew Godwin
5a22412c16 Considerably improve routing code simplicity and shortcircuiting 2016-04-04 03:34:05 +02:00
Arnaud Limbourg
3576267be2 Add paragraph on updating routing.py at that point 2016-04-03 18:32:13 -07:00
Charlie Hornsby
aad3575749 Remove references to Django project name
Update import paths to match standard Django package structure
2016-03-25 16:42:57 +02:00
Andrew Godwin
c36a33ab96 Improve wording about regex appending in routing docs 2016-03-20 13:56:42 -03:00
Andrew Godwin
d3da7054b4 Doc typo 2016-03-20 13:55:22 -03:00
Andrew Godwin
841e19da79 Change to a full pattern-based routing system. 2016-03-20 13:48:34 -03:00
Andrew Godwin
d26e04a56b Fix note formatting 2016-03-06 13:34:23 -08:00
Andrew Godwin
a0dff726b2 Rework getting started section to do groups after basic sending. 2016-03-06 11:28:52 -08:00
Andrew Godwin
54dc80e9a5 Typo fix in ordering page. 2016-02-28 22:13:44 -08:00
Andrew Godwin
b18975e607 Really lay into DatabaseChannelLayer in an impolite way. 2016-02-28 21:46:45 -08:00
Andrew Godwin
500f0fdeb7 Couple of bits more ordering docs 2016-02-23 19:36:34 -08:00
Andrew Godwin
69186ef7b7 Replace linearize with the more useful enforce_ordering. 2016-02-24 00:40:38 +00:00
Andrew Godwin
2b486b0ef0 Fix broken bits in docs. 2016-02-22 14:10:24 +00:00
Andrew Godwin
f04dcee7f7 "In short" and "WSGI to ASGI" doc sections 2016-02-22 14:07:48 +00:00
Andrew Godwin
3b8feb5b96 Update deployment docs 2016-02-21 13:06:33 +00:00
Andrew Godwin
899e180c21 Start updating docs to reflect new interaction pattern 2016-02-10 18:39:34 +00:00
Andrew Godwin
5df99c9cfd Fix some incorrect backend layer references 2016-01-17 14:31:04 -08:00
Martin Pajuste
eafb3c728d Fix some typos 2015-12-12 00:18:57 +02:00
Andrew Godwin
bf9a423211 Twisted HTTP interface now serves basic requests 2015-12-02 12:38:02 -08:00
Maik Hoepfel
2ff6388ef2 Changes after PR review 2015-11-19 14:50:23 +01:00
Maik Hoepfel
50cb6d13d8 Wording changes to docs
I eagerly read through the (excellent, thanks!) documentation for channels, and had to re-read one or two sentences. So being a good citizen, I'm suggesting a few fixes here and there.
2015-11-07 12:46:28 +01:00
Faris Chebib
ff9cdb7113 updated example and made decorators py3-ready 2015-09-10 16:57:57 -06:00
Faris Chebib
f4cb5864e1 Merge branch 'master' of github.com:andrewgodwin/channels into doc-update 2015-09-10 15:35:48 -06:00
Andrew Godwin
4a8bae272b Update docs to recommend doing routing not in settings 2015-09-10 16:34:28 -05:00
Faris Chebib
73d50a4695 updated typo in docs example 2015-09-10 14:46:24 -06:00
Faris Chebib
0e456b3125 Merge branch 'master' of github.com:andrewgodwin/channels into doc-update 2015-09-10 12:21:46 -06:00
Andrew Godwin
d563f7748c Linearize docs 2015-09-10 13:20:58 -05:00
Andrew Godwin
27f54ad23b Rework getting started 2015-09-10 13:08:09 -05:00
Faris Chebib
d4de42d3b2 Group ref on keepalive 2015-09-10 12:04:52 -06:00
Faris Chebib
275bfdf1e5 Group ref on keepalive 2015-09-10 12:04:01 -06:00
Faris Chebib
bd6f61de98 updated getting started to include Group ref 2015-09-10 12:00:47 -06:00
Andrew Godwin
70caf7d171 Rename channels and change message format docs 2015-09-09 21:21:43 -05:00
Andrew Godwin
39bead9de9 Remove useless import from doc example 2015-09-08 18:45:59 -05:00