Django tests appear to be getting substantially slower

2019-06-15 Thread Mark Jones
I was fixing up a Django app https://github.com/mark0978/django-softdelete and setting up tox to make sure it worked with all the listed versions because of issues opened on the original repo. While I was running tox locally I noticed that with every version of Django, the tests ran slower, and

Re: Django tests appear to be getting substantially slower

2019-06-15 Thread Simon Charette
Hi Mark, It's hard to tell exactly what's going on without more details but assuming you are running tests against SQLite the 2.1 to 2.2 slowdown is likely caused by the fact database constraints are now checked of each TestCase[0]. Cheers, Simon [0] https://docs.djangoproject.com/en/2.2/relea

Re: Django tests appear to be getting substantially slower

2019-06-15 Thread Mark Jones
Maybe that's the case, I didn't build the python2.7 or 3.7, but I used pyenv to install 3.4, 3.5, and 3.6 and they are all using the same version of SQLite. And with each version of python, the tests slow down as the version of django increases. Could this still be the SQLite v2.1->v2.2? Django

Re: Django tests appear to be getting substantially slower

2019-06-15 Thread Simon Charette
I meant Django 2.0 -> 2.1. As long as you are using Django 2.2 with SQLite 3.20+ the slowdown I mentioned should be effective. Simon Le samedi 15 juin 2019 08:32:56 UTC-4, Mark Jones a écrit : > > Maybe that's the case, I didn't build the python2.7 or 3.7, but I used > pyenv to install 3.4, 3.5

Re: Django channels on IIS

2019-06-15 Thread Daniel Butler
No you haven’t missed anything I spoke too soon. I was able to get the regular site running using fastcgi. I hope to revisit this once the regular site is in production. It’s too bad we are on Windows server R2 -- You received this message because you are subscribed to the Google Groups "Djang

Re: my file uploads missing/deleted

2019-06-15 Thread Joe Reitman
Did you create a processed image field in your model? On Friday, June 14, 2019 at 7:50:41 AM UTC-5, omar ahmed wrote: > > ok i did all steps but it still doesn't work .. this is my settings.py > file : > PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) > STATIC_URL = '/static/' > STATIC_

Re: Django tests appear to be getting substantially slower

2019-06-15 Thread Mark Jones
Ah, but the slowdown is happening from 1.8 forward, each version of Django make things just a bit slower. It's a gradual slowdown. I do think I've got 3.2x libsqlite though. So we can account for the slowdown on 2.1 -> 2.2 /usr/lib/libsqlite3.0.dylib /usr/lib/libsqlite3.dylib /usr/local/Cellar/

Re: Django channels on IIS

2019-06-15 Thread Daniel Butler
My plan to get this to work is to have daphine handle websockets and iis normal http. I don’t know how to configure iis to allow that though. Any ideas or direction would be much appreciated On Sat, Jun 15, 2019 at 9:36 AM Daniel Butler wrote: > No you haven’t missed anything I spoke too soon. I

Regarding learning of CGI and socket programming

2019-06-15 Thread Tanishq kokcha
Hey there! I am a student in final year of my engineering and i am currently looking for a resource to learn CGI and socket programming, i would be glad if someone help me out for this Thanking you -- You received this message because you are subscribed to the Google Groups "Django users" gr