Re: New Question How to Let a user upload a Video and then show the content on Templates in Django?
Hi Carlos I figured it out actually i put this {{user.profile.vid.url}} On Monday, March 12, 2018 at 2:29:11 PM UTC-5, sacrac wrote: > > what use Imagefield?, you use FileField is you need the user upload a > video like mp4. avi, mpg etc. > and in your html use tag for render. {{object.video}} > example > > > Your browser does not support the video tag. > > > > > On Mon, Mar 12, 2018 at 1:16 PM, djangorobert <djangoc...@gmail.com > > wrote: > >> Hi Im not sure if i am the only one in the Django community who has been >> trying to add this feauture for a couple of years Basically what i want is >> to let the user upload videos. >> I know that you could add the line in your models with a ImageField is >> that right? >> >> but then in the template with a >> >> >> {{ object.photo.url}}. >> >> you could do something like that >> >> but when i load the page it just does not load the pictures or videos >> >> any help would be great thanks >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users...@googlegroups.com . >> To post to this group, send email to django...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/0e2b1c19-5aa9-4dab-bec7-b61a689006f7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/0e2b1c19-5aa9-4dab-bec7-b61a689006f7%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > att. > Carlos Rocha > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/afe2b044-665d-42c0-b9d7-913450cf8c1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
New Question How to Let a user upload a Video and then show the content on Templates in Django?
Hi Im not sure if i am the only one in the Django community who has been trying to add this feauture for a couple of years Basically what i want is to let the user upload videos. I know that you could add the line in your models with a ImageField is that right? but then in the template with a {{ object.photo.url}}. you could do something like that but when i load the page it just does not load the pictures or videos any help would be great thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0e2b1c19-5aa9-4dab-bec7-b61a689006f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Using Python Packages in Django
Hi Jani thanks I was thinking something like this from rx import Observable, Observer people = ['robert', 'anna', 'jake', 'harry', 'lacey'] class MyObserver(Observer): templates = 'peron/people.html' context = {} def on_next(self, x): print("Found: {}".format(x)) def on_error(self, e): print("Sorry got an error for: {e}".format(e)) def on_completed(self): print('All Done') p = Observable.from_iterable(people) subscribe = p.subscribe(MyObserver()) return render(request, templates, context) On Sunday, March 11, 2018 at 3:02:18 PM UTC-5, Jani Tiainen wrote: > > Hi. > > Django is just Python so you can use any library as you see fit. > > You don't need to create any special models for that unless you want to > store something to database. > > If that package creteates output you want to show in template just calling > it from a view is sufficient. > > 11.3.2018 20.10 "djangorobert" <djangoc...@gmail.com > > kirjoitti: > >> Have a question may be silly but want to know when using a library like >> the Python rx library package >> how would I use it in django? >> >> Would I have to create a model? >> or could I use it in a View Thanks >> >> >> I was thinking in a View but was unsure if i could with a Function view >> instead >> >> Thanks >> IF you have had experience with it i would appreciate your INfo thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users...@googlegroups.com . >> To post to this group, send email to django...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/094bbd87-d1fd-4885-981d-8507f8cb3b2d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/094bbd87-d1fd-4885-981d-8507f8cb3b2d%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/73e191a1-9a07-46e8-b7aa-83c14d91fda7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Using Python Packages in Django
Have a question may be silly but want to know when using a library like the Python rx library package how would I use it in django? Would I have to create a model? or could I use it in a View Thanks I was thinking in a View but was unsure if i could with a Function view instead Thanks IF you have had experience with it i would appreciate your INfo thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/094bbd87-d1fd-4885-981d-8507f8cb3b2d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
I know get this error: (index):48 Connecting to ws://www.openchat.us/chat/stream/ reconnecting-websocket.min.js:1 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Invalid status line open @ reconnecting-websocket.min.js:1 a @ reconnecting-websocket.min.js:1 (anonymous) @ (index):49 i @ jquery-1.12.2.min.js:2 fireWith @ jquery-1.12.2.min.js:2 ready @ jquery-1.12.2.min.js:2 K @ jquery-1.12.2.min.js:2 (index):164 Disconnected from chat socket On Tuesday, May 23, 2017 at 11:56:22 AM UTC-5, djangorobert wrote: > > Hi Im working with django and django channels but seem to be running in to > constant road blocks not able to get a websocket conection i working with > andrew godwins example on github the "MULTICHAT" example all im trying to > do is to get it to work lol in a production envirment but i continue to get > errors like this: > > > websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on > 'WebSocket': Still in CONNECTING state. > > this.send = function (data) { ws.send(data); }; > >key: 'send', > value: function send(msg) { > this.socket.send(JSON.stringify(msg)); > } > dge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream' > failed: Error during WebSocket handshake: Invalid status line > > var connect = function () { log('connect'); var oldWs = ws; ws = new > config.constructor(url, protocols); > > > WebSocket connection to 'ws://www.openchat.us/chat/stream' failed: > WebSocket is closed before the connection is established. (index):170 > Disconnected from chat socket > > // Helpful debugging webSocketBridge.socket.onopen = function () { > console.log("Connected to chat socket"); }; webSocketBridge.socket.onclose > = function () { console.log("Disconnected from chat socket"); } > > > The commands im using in the putty console is : daphne -p{} > myproject.asgi:channel_layer > then i open another putty console and enter the command python manage.py > runworker > > but have continued to run into these problems going on 2 weeks now of this > junk I want to use django channels but if the problems continue going to > move on with socketio instead. > > Thanks for anyone who can help > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3d0017b1-7045-402e-aad3-a325731b4cbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
Hi Im working with django and django channels but seem to be running in to constant road blocks not able to get a websocket conection i working with andrew godwins example on github the "MULTICHAT" example all im trying to do is to get it to work lol in a production envirment but i continue to get errors like this: websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. this.send = function (data) { ws.send(data); }; key: 'send', value: function send(msg) { this.socket.send(JSON.stringify(msg)); } dge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream' failed: Error during WebSocket handshake: Invalid status line var connect = function () { log('connect'); var oldWs = ws; ws = new config.constructor(url, protocols); WebSocket connection to 'ws://www.openchat.us/chat/stream' failed: WebSocket is closed before the connection is established. (index):170 Disconnected from chat socket // Helpful debugging webSocketBridge.socket.onopen = function () { console.log("Connected to chat socket"); }; webSocketBridge.socket.onclose = function () { console.log("Disconnected from chat socket"); } The commands im using in the putty console is : daphne -p{} myproject.asgi:channel_layer then i open another putty console and enter the command python manage.py runworker but have continued to run into these problems going on 2 weeks now of this junk I want to use django channels but if the problems continue going to move on with socketio instead. Thanks for anyone who can help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3cb05c2d-73eb-4c9a-b590-eb6f41d1ad7a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.
hi james im going off of andrew godwins django channels example on github the multi chat example and using Webfactions hosting services. im getting the error of the websocket being closed I know your saying to maybe chaning it to wss instead of ws do you mean to change it in the javascript that is in the django channels github for multichat js file ? On Friday, May 19, 2017 at 11:21:33 PM UTC-5, James Schneider wrote: > > > > On May 19, 2017 8:02 PM, "djangorobert" <djangoc...@gmail.com > > wrote: > > > var connect = function () { > log('connect'); > var oldWs = ws; > ws = new config.constructor(url, protocols); > > thats part of what the error points me to in google tools: > > > > > (index):182 Disconnected from chat socket > VM170 websocketbridge.js:118 WebSocket connection to 'ws:// > www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: > Invalid status line > connect @ VM170 websocketbridge.js:118 > (index):182 Disconnected from chat socket > On Friday, May 19, 2017 at 11:53:37 AM UTC-5, > > > > Not sure if Web sockets have this problem, but I've seen invalid handshake > errors come about when one side is using HTTPS and the other is just using > HTTP. Perhaps connect to wss:// instead of ws://? I think that's the secure > protocol for web sockets. > > -James > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c4eb889f-c0da-4f6c-9f08-8bfee0ef841d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.
Thanks james going to try it out will post my results in a bit thank you for your time its appreciated. On Friday, May 19, 2017 at 11:21:33 PM UTC-5, James Schneider wrote: > > > > On May 19, 2017 8:02 PM, "djangorobert" <djangoc...@gmail.com > > wrote: > > > var connect = function () { > log('connect'); > var oldWs = ws; > ws = new config.constructor(url, protocols); > > thats part of what the error points me to in google tools: > > > > > (index):182 Disconnected from chat socket > VM170 websocketbridge.js:118 WebSocket connection to 'ws:// > www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: > Invalid status line > connect @ VM170 websocketbridge.js:118 > (index):182 Disconnected from chat socket > On Friday, May 19, 2017 at 11:53:37 AM UTC-5, > > > > Not sure if Web sockets have this problem, but I've seen invalid handshake > errors come about when one side is using HTTPS and the other is just using > HTTP. Perhaps connect to wss:// instead of ws://? I think that's the secure > protocol for web sockets. > > -James > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b018828e-e45f-4040-b0a1-9909d5e1a789%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.
var connect = function () { log('connect'); var oldWs = ws; ws = new config.constructor(url, protocols); thats part of what the error points me to in google tools: (index):182 Disconnected from chat socket VM170 websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Invalid status line connect @ VM170 websocketbridge.js:118 (index):182 Disconnected from chat socket On Friday, May 19, 2017 at 11:53:37 AM UTC-5, djangorobert wrote: > > Hi hoping somebody in the entire Djang Users can help me solve this > problem its been going on for about a week now Im using the django channels > example on github the "Multichat" example I am using webfaction. > > my website for this test is www.openchat.us but when you go to the site > it throws an error the error that i am getting is this: > WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is > closed before the connection is established. > > > settings.py > > CHANNEL_LAYERS = { >"default": { > "BACKEND": "asgi_redis.RedisChannelLayer", > "CONFIG": { > }, > "ROUTING": "myproject.routing.channel_routing", >}, > } > > > > > redis_host = os.environ.get('REDIS_HOST', 'localhost') > > > INSTALLED_APPS = [ > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'myproject', > 'channels', > 'chat', > ] > > > command that im using to launch daphne is : daphne -p 24711 > myproject.asgi:channel_layer > > $ daphne -p 27411 myproject.asgi:channel_layer > 2017-05-19 16:52:40,360 INFO Starting server at > tcp:port=27411:interface=127.0.0.1, channel layer > myproject.asgi:channel_layer. > 2017-05-19 16:52:40,360 INFO HTTP/2 support enabled > 2017-05-19 16:52:40,360 INFO Using busy-loop synchronous mode on > channel layer > 2017-05-19 16:52:40,361 INFO Listening on endpoint > tcp:port=27411:interface=127.0.0.1 > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cc6b6004-0947-4aca-9a5b-704b967538e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.
One qustion i do have is do I leave it as localhost ? or do i change that to a different IP address or www.openchat.us ? thanks On Friday, May 19, 2017 at 11:53:37 AM UTC-5, djangorobert wrote: > > Hi hoping somebody in the entire Djang Users can help me solve this > problem its been going on for about a week now Im using the django channels > example on github the "Multichat" example I am using webfaction. > > my website for this test is www.openchat.us but when you go to the site > it throws an error the error that i am getting is this: > WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is > closed before the connection is established. > > > settings.py > > CHANNEL_LAYERS = { >"default": { > "BACKEND": "asgi_redis.RedisChannelLayer", > "CONFIG": { > }, > "ROUTING": "myproject.routing.channel_routing", >}, > } > > > > > redis_host = os.environ.get('REDIS_HOST', 'localhost') > > > INSTALLED_APPS = [ > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'myproject', > 'channels', > 'chat', > ] > > > command that im using to launch daphne is : daphne -p 24711 > myproject.asgi:channel_layer > > $ daphne -p 27411 myproject.asgi:channel_layer > 2017-05-19 16:52:40,360 INFO Starting server at > tcp:port=27411:interface=127.0.0.1, channel layer > myproject.asgi:channel_layer. > 2017-05-19 16:52:40,360 INFO HTTP/2 support enabled > 2017-05-19 16:52:40,360 INFO Using busy-loop synchronous mode on > channel layer > 2017-05-19 16:52:40,361 INFO Listening on endpoint > tcp:port=27411:interface=127.0.0.1 > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6abd0b3f-f1c8-4661-804b-b69c6598bc35%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.
Hi hoping somebody in the entire Djang Users can help me solve this problem its been going on for about a week now Im using the django channels example on github the "Multichat" example I am using webfaction. my website for this test is www.openchat.us but when you go to the site it throws an error the error that i am getting is this: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established. settings.py CHANNEL_LAYERS = { "default": { "BACKEND": "asgi_redis.RedisChannelLayer", "CONFIG": { }, "ROUTING": "myproject.routing.channel_routing", }, } redis_host = os.environ.get('REDIS_HOST', 'localhost') INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'myproject', 'channels', 'chat', ] command that im using to launch daphne is : daphne -p 24711 myproject.asgi:channel_layer $ daphne -p 27411 myproject.asgi:channel_layer 2017-05-19 16:52:40,360 INFO Starting server at tcp:port=27411:interface=127.0.0.1, channel layer myproject.asgi:channel_layer. 2017-05-19 16:52:40,360 INFO HTTP/2 support enabled 2017-05-19 16:52:40,360 INFO Using busy-loop synchronous mode on channel layer 2017-05-19 16:52:40,361 INFO Listening on endpoint tcp:port=27411:interface=127.0.0.1 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/84199dbf-942d-43e4-9f08-098bc5cda922%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp
THis is the new error that im getting after fixing my redis configuration in the settings.py WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established. On Thursday, May 18, 2017 at 2:08:05 PM UTC-5, djangorobert wrote: > > > <https://lh3.googleusercontent.com/-2PFC_4eUlH0/WR3xENBP3xI/AP4/d552fmpgbgI0JGhQdOl7LLJItQCDC5UDQCLcB/s1600/websocketerror2.GIF> > > > <https://lh3.googleusercontent.com/-VD_L4lkOpMA/WR3w_KUDTmI/AP0/pQy37FT8H68UZhrDT7x5Zf2Y9eHRLF5bgCLcB/s1600/websocketerror3.GIF> > > > On Wednesday, May 17, 2017 at 3:59:47 PM UTC-5, djangorobert wrote: >> >> currently getting this error : >> WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: >> Error during WebSocket handshake: Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):174 Disconnected from chat socket >> >> On Tuesday, May 16, 2017 at 11:31:19 PM UTC-5, djangorobert wrote: >>> >>> thanks ya that seemed to help a little now im running into a new error: >>> >>> WebSocket connection to 'ws://www.openchat.us/griper' failed: WebSocket >>> is closed before the connection is established. >>> (index):173 Disconnected from chat socket >>> websocketbridge.js:118 WebSocket connection to 'ws:// >>> www.openchat.us/griper' failed: Error during WebSocket handshake: >>> Unexpected response code: 403 >>> connect @ websocketbridge.js:118 >>> (index):173 Disconnected from chat socket >>> >>> hmmm :) >>> >>> On Tuesday, May 16, 2017 at 8:26:18 PM UTC-5, Dylan Reinhold wrote: >>>> >>>> Sorry sounds like you will need to configure somting in your webfaction >>>> controll panel. >>>> >>>> Here is another person with same issue, they said it fixed it for them. >>>> https://github.com/django/channels/issues/445 >>>> >>>> On Tue, May 16, 2017 at 5:46 PM, djangorobert <djangoc...@gmail.com> >>>> wrote: >>>> >>>>> hi Dylan Im usingWebfaction Im kind of new to django channels >>>>> my website is www.openchat.us >>>>> >>>>> do you mean redisserver ? >>>>> >>>>> or are you refering to the commands python mange.py runserver or >>>>> runworkder? because with those commancds im kind of confused when ussing >>>>> webfaction >>>>> im using putty to enter the commands to my webfaction account >>>>> >>>>> On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote: >>>>>> >>>>>> How are you running the web server? >>>>>> Looks like your web socket traffic is not being set to daphene. >>>>>> Probably hitting the regular django listener and its returning a 404. >>>>>> >>>>>> Dylan >>>>>> >>>>>> On Tue, May 16, 2017 at 3:39 PM, djangorobert <djangoc...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> working on the Django channels example : multi chat on Github >>>>>>> but am getting this error >>>>>>> >>>>>>> >>>>>>> (index):173 Disconnected from chat socket >>>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>>> handshake: Unexpected response code: 404 >>>>>>> connect @ websocketbridge.js:118 >>>>>>> (index):173 Disconnected from chat socket >>>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>>> handshake: Unexpected response code: 404 >>>>>>> connect @ websocketbridge.js:118 >>>>>>> (index):173 Disconnected from chat socket >>>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>>> handshake: Unexpected response code: 404 >>>>>>> connect @ websocketbridge.js:118 >>>>>>> (index):173 Disconnected from chat socket >>>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>
Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp
<https://lh3.googleusercontent.com/-2PFC_4eUlH0/WR3xENBP3xI/AP4/d552fmpgbgI0JGhQdOl7LLJItQCDC5UDQCLcB/s1600/websocketerror2.GIF> <https://lh3.googleusercontent.com/-VD_L4lkOpMA/WR3w_KUDTmI/AP0/pQy37FT8H68UZhrDT7x5Zf2Y9eHRLF5bgCLcB/s1600/websocketerror3.GIF> On Wednesday, May 17, 2017 at 3:59:47 PM UTC-5, djangorobert wrote: > > currently getting this error : > WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error > during WebSocket handshake: Unexpected response code: 404 > connect @ websocketbridge.js:118 > (index):174 Disconnected from chat socket > > On Tuesday, May 16, 2017 at 11:31:19 PM UTC-5, djangorobert wrote: >> >> thanks ya that seemed to help a little now im running into a new error: >> >> WebSocket connection to 'ws://www.openchat.us/griper' failed: WebSocket >> is closed before the connection is established. >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/griper' failed: Error during WebSocket handshake: >> Unexpected response code: 403 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> >> hmmm :) >> >> On Tuesday, May 16, 2017 at 8:26:18 PM UTC-5, Dylan Reinhold wrote: >>> >>> Sorry sounds like you will need to configure somting in your webfaction >>> controll panel. >>> >>> Here is another person with same issue, they said it fixed it for them. >>> https://github.com/django/channels/issues/445 >>> >>> On Tue, May 16, 2017 at 5:46 PM, djangorobert <djangoc...@gmail.com> >>> wrote: >>> >>>> hi Dylan Im usingWebfaction Im kind of new to django channels >>>> my website is www.openchat.us >>>> >>>> do you mean redisserver ? >>>> >>>> or are you refering to the commands python mange.py runserver or >>>> runworkder? because with those commancds im kind of confused when ussing >>>> webfaction >>>> im using putty to enter the commands to my webfaction account >>>> >>>> On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote: >>>>> >>>>> How are you running the web server? >>>>> Looks like your web socket traffic is not being set to daphene. >>>>> Probably hitting the regular django listener and its returning a 404. >>>>> >>>>> Dylan >>>>> >>>>> On Tue, May 16, 2017 at 3:39 PM, djangorobert <djangoc...@gmail.com> >>>>> wrote: >>>>> >>>>>> working on the Django channels example : multi chat on Github >>>>>> but am getting this error >>>>>> >>>>>> >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>> handshake: Unexpected response code: 404 >>>>>> connect @ websocketbridge.js:118 >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>> handshake: Unexpected response code: 404 >>>>>> connect @ websocketbridge.js:118 >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>> handshake: Unexpected response code: 404 >>>>>> connect @ websocketbridge.js:118 >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>> handshake: Unexpected response code: 404 >>>>>> connect @ websocketbridge.js:118 >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>>> handshake: Unexpected response code: 404 >>>>>> connect @ websocketbridge.js:118 >>>>>> (index):173 Disconnected from chat socket >>>>>> websocketbridge.js:118 WebSocket connection to 'ws
Re: Django Channels error : et connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Di
<https://lh3.googleusercontent.com/-kLcQrYchX48/WR3uFRq7hcI/APY/gTA2RQyIjZEjQoCgNgQOgFowAbqmR68QACLcB/s1600/websocketerror2.GIF> here is what i am seeing in the bash command line after entering the command: daphne -p 27411 myproject.asgi:channel_layer <https://lh3.googleusercontent.com/-Th9yIibIxLo/WR3uln_tHUI/APc/N5LYPRhXjtckXMymyVVciyQRkGkNW1ybwCLcB/s1600/websocketerror3.GIF> and in the google tools i see this error: On Thursday, May 18, 2017 at 10:22:07 AM UTC-5, djangorobert wrote: > > not quite sure what im doing wrong with the django channels multichat > example > > but seem to be getting this error: connection to 'ws:// > www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: > Unexpected response code: 404 > connect @ websocketbridge.js:118 > (index):174 Disconnected from chat socket > > > > the command i use is daphne -p 26358 myproject.asgi:channel_layer > > one question i do have is once i enter this command do i have to do it > again in the future what i mean is is this command like a python manage.py > runserver command that needs to be done to run everytime or is it a command > that is entered once. > One more thing I am using a webfaction account. > thanks > IF anyone else has been through this error or problem before please > respond your feedback is appreciated. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d555a089-7811-4a9d-9d1b-ecd5669f71e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels error : et connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Di
<https://lh3.googleusercontent.com/-3HTDh7NVtHA/WR3tZD9dn9I/APU/ls3qaOsHFu0KP_U0hhYD-ZCHJ60D5Y3CQCLcB/s1600/websocketerror.GIF> here is the error that i am seeing after i enter the command daphne -p 27411 myproject.asgi:channel_layer <https://lh3.googleusercontent.com/-3HTDh7NVtHA/WR3tZD9dn9I/APU/ls3qaOsHFu0KP_U0hhYD-ZCHJ60D5Y3CQCLcB/s1600/websocketerror.GIF> On Thursday, May 18, 2017 at 10:22:07 AM UTC-5, djangorobert wrote: > > not quite sure what im doing wrong with the django channels multichat > example > > but seem to be getting this error: connection to 'ws:// > www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: > Unexpected response code: 404 > connect @ websocketbridge.js:118 > (index):174 Disconnected from chat socket > > > > the command i use is daphne -p 26358 myproject.asgi:channel_layer > > one question i do have is once i enter this command do i have to do it > again in the future what i mean is is this command like a python manage.py > runserver command that needs to be done to run everytime or is it a command > that is entered once. > One more thing I am using a webfaction account. > thanks > IF anyone else has been through this error or problem before please > respond your feedback is appreciated. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/637030a2-d3a6-4fa2-a8b4-01065042262e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Django Channels error : et connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Discon
not quite sure what im doing wrong with the django channels multichat example but seem to be getting this error: connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Disconnected from chat socket the command i use is daphne -p 26358 myproject.asgi:channel_layer one question i do have is once i enter this command do i have to do it again in the future what i mean is is this command like a python manage.py runserver command that needs to be done to run everytime or is it a command that is entered once. One more thing I am using a webfaction account. thanks IF anyone else has been through this error or problem before please respond your feedback is appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/01c38a9a-39ae-446b-9740-2d4c469552df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp
currently getting this error : WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexpected response code: 404 connect @ websocketbridge.js:118 (index):174 Disconnected from chat socket On Tuesday, May 16, 2017 at 11:31:19 PM UTC-5, djangorobert wrote: > > thanks ya that seemed to help a little now im running into a new error: > > WebSocket connection to 'ws://www.openchat.us/griper' failed: WebSocket > is closed before the connection is established. > (index):173 Disconnected from chat socket > websocketbridge.js:118 WebSocket connection to 'ws:// > www.openchat.us/griper' failed: Error during WebSocket handshake: > Unexpected response code: 403 > connect @ websocketbridge.js:118 > (index):173 Disconnected from chat socket > > hmmm :) > > On Tuesday, May 16, 2017 at 8:26:18 PM UTC-5, Dylan Reinhold wrote: >> >> Sorry sounds like you will need to configure somting in your webfaction >> controll panel. >> >> Here is another person with same issue, they said it fixed it for them. >> https://github.com/django/channels/issues/445 >> >> On Tue, May 16, 2017 at 5:46 PM, djangorobert <djangoc...@gmail.com> >> wrote: >> >>> hi Dylan Im usingWebfaction Im kind of new to django channels >>> my website is www.openchat.us >>> >>> do you mean redisserver ? >>> >>> or are you refering to the commands python mange.py runserver or >>> runworkder? because with those commancds im kind of confused when ussing >>> webfaction >>> im using putty to enter the commands to my webfaction account >>> >>> On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote: >>>> >>>> How are you running the web server? >>>> Looks like your web socket traffic is not being set to daphene. >>>> Probably hitting the regular django listener and its returning a 404. >>>> >>>> Dylan >>>> >>>> On Tue, May 16, 2017 at 3:39 PM, djangorobert <djangoc...@gmail.com> >>>> wrote: >>>> >>>>> working on the Django channels example : multi chat on Github >>>>> but am getting this error >>>>> >>>>> >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>>> handshake: Unexpected response code: 404 >>>>> connect @ websocketbridge.js:118 >>>>> (index):173 Disconnected from chat socket >>>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>>> www.openchat.us/
Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp
thanks ya that seemed to help a little now im running into a new error: WebSocket connection to 'ws://www.openchat.us/griper' failed: WebSocket is closed before the connection is established. (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/griper' failed: Error during WebSocket handshake: Unexpected response code: 403 connect @ websocketbridge.js:118 (index):173 Disconnected from chat socket hmmm :) On Tuesday, May 16, 2017 at 8:26:18 PM UTC-5, Dylan Reinhold wrote: > > Sorry sounds like you will need to configure somting in your webfaction > controll panel. > > Here is another person with same issue, they said it fixed it for them. > https://github.com/django/channels/issues/445 > > On Tue, May 16, 2017 at 5:46 PM, djangorobert <djangoc...@gmail.com > > wrote: > >> hi Dylan Im usingWebfaction Im kind of new to django channels >> my website is www.openchat.us >> >> do you mean redisserver ? >> >> or are you refering to the commands python mange.py runserver or >> runworkder? because with those commancds im kind of confused when ussing >> webfaction >> im using putty to enter the commands to my webfaction account >> >> On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote: >>> >>> How are you running the web server? >>> Looks like your web socket traffic is not being set to daphene. Probably >>> hitting the regular django listener and its returning a 404. >>> >>> Dylan >>> >>> On Tue, May 16, 2017 at 3:39 PM, djangorobert <djangoc...@gmail.com> >>> wrote: >>> >>>> working on the Django channels example : multi chat on Github >>>> but am getting this error >>>> >>>> >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSocket >>>> handshake: Unexpected response code: 404 >>>> connect @ websocketbridge.js:118 >>>> (index):173 Disconnected from chat socket >>>> websocketbridge.js:118 WebSocket connection to 'ws:// >>>> www.openchat.us/chat/stream/' failed: Error during WebSock
Re: Django Channels error : (index):173 Disconnected from chat socket websocketbridge.js:118 WebSocket connection to 'ws://www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: Unexp
hi Dylan Im usingWebfaction Im kind of new to django channels my website is www.openchat.us do you mean redisserver ? or are you refering to the commands python mange.py runserver or runworkder? because with those commancds im kind of confused when ussing webfaction im using putty to enter the commands to my webfaction account On Tuesday, May 16, 2017 at 5:49:04 PM UTC-5, Dylan Reinhold wrote: > > How are you running the web server? > Looks like your web socket traffic is not being set to daphene. Probably > hitting the regular django listener and its returning a 404. > > Dylan > > On Tue, May 16, 2017 at 3:39 PM, djangorobert <djangoc...@gmail.com > > wrote: > >> working on the Django channels example : multi chat on Github >> but am getting this error >> >> >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> 2(index):173 Disconnected from chat socket >> 2websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> websocketbridge.js:118 WebSocket connection to 'ws:// >> www.openchat.us/chat/stream/' failed: Error during WebSocket handshake: >> Unexpected response code: 404 >> connect @ websocketbridge.js:118 >> (index):173 Disconnected from chat socket >> (index):1 WebSocket connection to 'ws://www.openchat.us/chat/stream/' >> failed: WebSocket is closed before the connection is established. >> 2(index):173 Disconnected from chat socket >> (index)
Re: Django Channels: Multiple 'send' calls in the same consumer
Are you using this in production if so what service as in was or webfaction or azure u ask because I'm trying to use it but can't figure out what I'm doing wrong I'm using Andrew Godwin's multichat example from git hub -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6505142f-9695-4965-a261-fed7258b3c80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: django channels failed to load resources
Uncaught ReferenceError: channels is not defined at HTMLDocument. ((index):51) at j (jquery.min.js:2) at k (jquery.min.js:2) Thinking part of the problem is in this scripts not sure
django channels failed to load resources
When I run the code my website runs but is not doing anything with channels my address is www.openchat.us nothing happens on the page but when you right click with Google browser in developer tools I see failed to load resources is this a static issue I did do python manage.py collectstatic and I'm using webfaction -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/87c81322-4fac-4f5d-9db4-bf55d941115a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Question Is Django Rest Framework only for APIs or can i Use it to create Users for a website?
Ya the question is what it means Ive gone through it and looks like you could but not sure I know its good for apis but wanted to see if it could be used for Authenticating User for a website that im building any responses would be appreciated thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/577d45ba-6286-4b44-8508-0c100b3638f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to create a database for my website in Django
a quick fix would be to just get an account with pythonanywhere.com its a cloud computing or a saas for python users lets you create your app and gives you a mysql database automatically On Tuesday, August 30, 2016 at 6:18:08 PM UTC-5, Jeff Goes wrote: > > I have little knowledge when it comes to the creation of databases. I > would like to know if someone can help me set a database for my website > step by step since I have a deadline due to next month to finish a project > that requires that kind of knowledge. The idea is to input information on > the website and save them into an internal database. I already have MySql > and Sequel Pro installed but don't know how to link them to my website. > > I appreciate it. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d0a6b9fb-887b-4f3b-852e-a64f3cc8c403%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to Let a User add a Video not a image as a post?
I have researched this issue with django for years now and seems that no body in the django community knows how to do this which is a suprise because there are many smart people but not one has been able to solve this mystery? What i'm aiming for is to let a user upload a vido format and then in the template display there posts does anyone know how to put it in html5 but along with django in the view.py ? thanks any help or code would be appreciated -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e5004b13-722d-4565-8c7f-dcc9297a9c6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Looking for ways to improve my skills
I would go to Djangopackages.com there you will be able to see many packages that are built and get some ideas and get some ideas on others code good place to get ideas for sure. On Saturday, April 2, 2016 at 5:37:22 PM UTC-5, Devrhoid Davis wrote: > > Hi All, > > I have been working with Python for just over 3 years now and have > recently taken up django. I have completed both the polls app and have > created an address book app by following a tutorial on youtube. I am > looking fro ways to improve my competence with django and possibly some end > to end website projects. Can anyone provide me with some links as to where > I could find resources for improving my skills and then avenues for using > these skills to generate income? > > Thanks in advance. > > Regards, > Devrhoid > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cb01a66e-e6c1-4092-81fe-364afe2ad823%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Anybody use Tornado and Python if so with wich service ?
I am a user for pythonanywhere.com I build most of my apps there and have just started to use aws a trial account I know pythonanywhere.com does not allow you to use tornados framework I want to build a chatting app but wanted to see what Django python users are using to make this happen thanks which service are you using as in aws, paw, ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a9fdffe9-3286-429e-97ed-44b53632a388%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Built a API with django rest framework how do i get a key for people or is it open to them
Hello fellow django users I recently built a api for just a small sprint board where tasks can be set its built with django and django rest framework what i see though is most apis have like a key that others can use do i have to offer api keys or is mine able just able to be free thats where im confused. Mainly for others to use an api do i have to offer a key or is it ok to just let them go to the site and use it thanks please be patientim new with apis thanks Robert -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0c239c3d-bf92-4e7f-a101-0b1b562d7a40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.