Re: I created a table view based on django that loads the whole data and is now having performance issues

2018-09-08 Thread xcode101
What do you mean by table view? More so how is data loaded? On Saturday, 8 September 2018 19:21:54 UTC+3, brajesh kumar wrote: > > I created a table view based on django that loads the whole data and is > now having performance issues.. > > Any suggestion would be appreciated. > -- You received

Re: relation "polls_article" does not exist

2018-09-04 Thread xcode101
Any gist file we could check it out? Sorry to hear that you've been at this for days. The piece of code accessing polls_article. On Tuesday, 4 September 2018 20:15:14 UTC+3, Sandy Leon wrote: > > Hello everyone, I have been using Heroku to try and deploy my Django site. > When running the comman

Re: relation "polls_article" does not exist

2018-09-04 Thread xcode101
Any gist file we could check it out? On Tuesday, 4 September 2018 20:15:14 UTC+3, Sandy Leon wrote: > > Hello everyone, I have been using Heroku to try and deploy my Django site. > When running the command 'heroku open' Django gives me this error > > > Environment: > > > Request Method: GET > Re

Trying to understand Long Polling using Channel 2

2018-09-04 Thread xcode101
Channels has to be one of the great libs I've used. However didn't find enough examples on how to implement long polling. So according to my understanding is that when request is received the " LongPollConsumer" consumer handler function send a "don't close body" by using more_body=True param.