Re: Pagination breaks in ListView after migrating from Django 1.11 to 2.2 with SQLite

2019-04-24 Thread Szabolcs Hodossy
Thanks for the help, I have checked those release notes, but I was not able to identify the related change (neither subquery nor __in lookup). I wanted to give you a deeper look into the code, but during that I managed to isolate the issue. It seems that the '__in' lookups previously accepted objec

Re: How to use wsgi when using external frame works

2019-04-24 Thread Kasper Laudrup
Hi Saeed, Saeed Pooladzadeh – Tue, 23. April 2019 22:01 > Thanks for your reply.Can you please explain more and? > What command should I add?I didn't find > anything on the web? I suggest you add all of them. Every possible command you can think of. I'm sure it'll solve your problem sooner or la

Fwd: Re: How to use wsgi when using external frame works

2019-04-24 Thread Kasper Laudrup
Forwarded message I'm trying to achieve add the instabot to my project for making an Instagram bot site. On Wed, Apr 24, 2019 at 11:58 AM Kasper Laudrup wrote: > Hi Saeed, Saeed Pooladzadeh – Tue, 23. April 2019 22:01 > Thanks for your reply.Can you please explain more and?

Re: compute model field by related field

2019-04-24 Thread omar ahmed
ok Derek i used save() instead of return and it works now thank you very much @receiver(post_save, sender=Match) def update_club_score(instance, sender, **kwargs): # club local won if instance.score_local > instance.score_visitor: instance.club_local.won += 1 instance.club_local.save() instance.c

Re: Don`t start server

2019-04-24 Thread Suresh Kannan
Hi, Hope this helps. >>>*django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).* https://stackoverflow.com/questions/55512244/no-installed-app-with-label-admin-in-empty-django-2-2-project On Tue, Apr 23, 2019 at 3:10 PM TAIT_MIZO wrote: > (steam_trader)

Re: Integrating Google calendar API in TODO list

2019-04-24 Thread Joel Mathew
Just do it. The API has python sample code. Sincerely yours, Joel G Mathew On Tue, 23 Apr 2019 at 09:58, Sipum wrote: > Hello friends. > > I am going to integrate google calendar API in to my TODO List. > can anyone suggest how to integrate so that when I will add any event in > my TODO List

Django TidyFields

2019-04-24 Thread chris
Hi folks, This is a short message to announce the first release of Django TidyFields: [ https://pypi.org/project/django-tidyfields/ | https://pypi.org/project/django-tidyfields/ ] Django TidyFields is a set of text input fields, (currently CharField and TextField are subclassed) which saniti

Re: Which app for minio (s3) storage server?

2019-04-24 Thread guettli
just for the records. I took minio and it works fine since some weeks now the first weeks. Am Freitag, 22. März 2019 15:49:36 UTC+1 schrieb guettli: > > Up to now all my projects worked with the basic file storage. > > Now I want use a s3 like storage server for the first time. > > The server imp

Re: 404 error when posting a multipart/form-data form

2019-04-24 Thread Manlio Perillo
On Thursday, March 21, 2019 at 10:28:30 AM UTC+1, Manlio Perillo wrote: > > I have a Django application that works perfectly fine both on my PC and on > a hosting system with CloudLinux and Passenger. > However when I added a form with a file field, I started to get 404 errors > on POST. > > I tr

Django 1.11.X - csrf hints when using requests to make direct view requests over https

2019-04-24 Thread Michael McDaniels
When using the requests module to construct Django view requests over https, insure you use lower case in your ALLOWED_HOSTS and/or CSRF_TRUSTED_ORIGINS in settings.py. The module 'django.middleware.csrf' calls 'is_same_domain()' from 'django.utils.http' which does a 'lower()' on the host porti

Re: Integrating Google calendar API in TODO list

2019-04-24 Thread Sipum Mishra
Joel, i know there is python code for yhat API but how to integrate it.. I want to know that.. I tried to do but failed. On Wed, 24 Apr, 2019, 6:55 PM Joel Mathew, wrote: > Just do it. The API has python sample code. > Sincerely yours, > > Joel G Mathew > > > > On Tue, 23 Apr 2019 at 09:58, Sip

Re: Integrating Google calendar API in TODO list

2019-04-24 Thread Joel Mathew
I fail to see what's your difficulty in integrating this. You just insert the code in your views, and display your processed result in your template. Try writing code and post your error. There's no specific code needed just for django. If it failed, post your code with the error stream. On Wed,

RE: Integrating Google calendar API in TODO list

2019-04-24 Thread Matthew Pava
Dr. Joel, I think Sipum doesn’t even know how to begin. So Sipum, take a look at this document: https://developers.google.com/calendar/quickstart/python From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Joel Mathew Sent: Wednesday, April 24, 2019 2:07 PM To:

Blog sharing

2019-04-24 Thread Soumen Khatua
Hi folks, I want to make on blogger website and I want to share them with social media's timeline like Facebook, instragam, twitter etc. But for each post generate the embed code is little bit time consuming. So how I can write a script where for each post can be redirect to Facebook or twitter We

Re: Blog sharing

2019-04-24 Thread Makori Breens
Easy, there are several automatic sharing services out there...some free On Wed, Apr 24, 2019, 10:41 PM Soumen Khatua wrote: > Hi folks, > > I want to make on blogger website and I want to share them with social > media's timeline like Facebook, instragam, twitter etc. But for each post > genera

Re: Blog sharing

2019-04-24 Thread Nitesh Saini
By using http request you can store content of your blog and create a bot which will use Instagram api, Twitter api etc and can upload your blog. On Thu, 25 Apr 2019, 1:42 am Makori Breens Easy, there are several automatic sharing services out there...some free > > On Wed, Apr 24, 2019, 10:41 PM

Re: Advanced permissions and role creation

2019-04-24 Thread Mike Dewhirst
On 23/04/2019 9:22 pm, Balaji Shetty wrote: Hi Did you get any particular solution. I am also facing the same problem. My project also have same requirement. I think this problem must have been faced by every dveloper. Can you please share the solution or any useful internet resource . cla

Re: Blog sharing

2019-04-24 Thread Soumen Khatua
Can you share any link related to these concept??? On Thu, 25 Apr 2019, 01:42 Makori Breens, wrote: > Easy, there are several automatic sharing services out there...some free > > On Wed, Apr 24, 2019, 10:41 PM Soumen Khatua > wrote: > >> Hi folks, >> >> I want to make on blogger website and I w

Re: Blog sharing

2019-04-24 Thread Soumen Khatua
I know I can do that by using api. Do you have any source code for that? On Thu, 25 Apr 2019, 05:20 Nitesh Saini, wrote: > By using http request you can store content of your blog and create a bot > which will use Instagram api, Twitter api etc and can upload your blog. > > On Thu, 25 Apr 2019,

CSRF Verification fails in production for Cross Domain POST request

2019-04-24 Thread suresh
The HTTP_X_CSRFTOKEN header does not match what is inside the csrftoken cookie. How can I examine the cookie? Set-Cookie is not displayed in the Response header for Cross Domain requests. I have already followed instructions found in: https://stackoverflow.com/questions/39254562/csrf-with-dj