Re: New Question How to Let a user upload a Video and then show the content on Templates in Django?

2018-03-12 Thread djangorobert
object.video}} > example > > > Your browser does not support the video tag. > > > > > On Mon, Mar 12, 2018 at 1:16 PM, djangorobert > wrote: > >> Hi Im not sure if i am the only one in the Django community who has been >> trying to add this feauture

New Question How to Let a user upload a Video and then show the content on Templates in Django?

2018-03-12 Thread djangorobert
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

Re: Using Python Packages in Django

2018-03-11 Thread djangorobert
ething 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" > > kirjoitti: > >> Have a question may be silly but want to know when using a library lik

Using Python Packages in Django

2018-03-11 Thread djangorobert
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 y

Re: websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

2017-05-24 Thread djangorobert
connecting-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 wor

websocketbridge.js:183 Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

2017-05-23 Thread djangorobert
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 g

Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.

2017-05-20 Thread djangorobert
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" > wrote: > > > var connect = function () { > log('connect'

Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.

2017-05-20 Thread djangorobert
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" > wrote: > > > var connect = fu

Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.

2017-05-19 Thread djangorobert
on 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 e

Re: Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.

2017-05-19 Thread djangorobert
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

Django Channels Error: WebSocket connection to 'ws://openchat.us:24711/' failed: WebSocket is closed before the connection is established.

2017-05-19 Thread djangorobert
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

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

2017-05-19 Thread djangorobert
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: &g

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

2017-05-18 Thread djangorobert
dnesday, 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 > (

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

2017-05-18 Thread djangorobert
ntent.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 mu

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

2017-05-18 Thread djangorobert
TDh7NVtHA/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 thi

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

2017-05-18 Thread djangorobert
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

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

2017-05-17 Thread djangorobert
9 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 soc

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

2017-05-16 Thread djangorobert
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 > wrote: > >> hi Dylan Im

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

2017-05-16 Thread djangorobert
4. > > Dylan > > On Tue, May 16, 2017 at 3:39 PM, djangorobert > 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 WebS

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: Unexpect

2017-05-16 Thread djangorobert
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 @

Re: Django Channels: Multiple 'send' calls in the same consumer

2017-05-16 Thread djangorobert
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

Re: django channels failed to load resources

2017-05-15 Thread djangorobert
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

2017-05-15 Thread djangorobert
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

Question Is Django Rest Framework only for APIs or can i Use it to create Users for a website?

2017-01-06 Thread djangorobert
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 y

Re: How to create a database for my website in Django

2016-09-01 Thread djangorobert
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

How to Let a User add a Video not a image as a post?

2016-09-01 Thread djangorobert
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 the

Re: Looking for ways to improve my skills

2016-04-11 Thread djangorobert
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 Pyth

Anybody use Tornado and Python if so with wich service ?

2016-04-11 Thread djangorobert
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

Built a API with django rest framework how do i get a key for people or is it open to them

2016-04-11 Thread djangorobert
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