postgresql/operations.py @ 235 leaking memory

2020-04-01 Thread Francesco Meli
Hello, I have posted a well detailed issue here on StackOverflow (it can be improved if asked): https://stackoverflow.com/questions/60972577/django-postgres-memory-leak - I have a custom command that crunches jobs coming from a Postgresql table jobs. - Since the command is mult

Re: heroku goddaddy domain config

2020-04-01 Thread Makori Breens.
Try pointing through your heroku A records from godaddy.also make sure you domain is added on heroku panel.it should work On Wednesday, April 1, 2020, John McClain wrote: > Hello, > > I am trying to point my GoDaddy hosted domain to my heroku app but am not > getting any love. > > Trying to get

Populate script not working

2020-04-01 Thread Jeff Waters
I've created a population script to test my website - please see below - but I get the following error message: django.contrib.auth.models.DoesNotExist: User matching query does not exist. Given that I've created a hypothetical user, I'm not sure why this is? Any suggestions would much apprecia

heroku goddaddy domain config

2020-04-01 Thread John McClain
Hello, I am trying to point my GoDaddy hosted domain to my heroku app but am not getting any love. Trying to get the https version configured Any suggestions? Thanks -- John McClain Cell: 085-1977-823 Skype: jmcclain0129 Email: jmcclain0...@gmail.com -- You received this message because yo

Re: Creating test databases in parallel

2020-04-01 Thread Thomas Lockhart
If you are trying to optimize the test flow, then you may want to spend some time shrinking your test databases to a more manageable size. Or have two sets; abbreviated and full, with the larger one to exercise your (unknown) edge cases. hth - Tom > On Apr 1, 2020, at 2:25 AM, cool-RR wrote:

Re: Extending Django admin delete confirmation page

2020-04-01 Thread Gagan Deep
That doesn't work either. 😅 On Tue, Mar 31, 2020 at 12:19 PM Klaus Laube wrote: > Hi, Gagan. > > Try removing the "admin:" from your instruction: `{% extends > "admin/delete_confirmation.html" %}` > > Here is the template with a possible blocks that you might overwrite: > https://github.com/djan

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
Thanks Andreas When I do that, I get an error message: NoReverseMatch at /photo_feed/ Could the problem be with my add_comment.html? The code for that is as follows: {% extends 'nowandthen/base.html' %} {% load staticfiles %} {% block title_block %} Add self {% endblock %} {% block body_block %

Re: Associating comments with images

2020-04-01 Thread Andréas Kühne
Yeah ok - so you should use the pictures variable to iterate over to get the pictures and you should be fine! Regards, Andréas Den ons 1 apr. 2020 kl 15:26 skrev Jeff Waters : > Thank you Andreas. > > This is the views.py - > https://github.com/EmilyQuimby/my_now_and_then/blob/master/nowandthe

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
Thank you Andreas. This is the views.py - https://github.com/EmilyQuimby/my_now_and_then/blob/master/nowandthen/views.py -- 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

Re: Associating comments with images

2020-04-01 Thread Andréas Kühne
Ok - so you are not really doing this correctly - I am guessing now. Can you send the code for your view as well. Because I am guessing that you aren't sending anything to the context variable "pictures". I think the other things are more or less correct (even though there are some issues with th

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
Thanks Andreas I think that one of the mistakes I'd made previously was to not associate particular comments with particular pictures. I've tried to rectify that using the code below. However, when I do this, the page I get is empty. Any advice would be appreciated: {% extends 'nowandthen/b

Getting one view function context into another view

2020-04-01 Thread Irfan Khan
Hi all, I have detailview template there detailview view all description like title. Date etc.., >From that function detailview I wanted to get that title into another view Can any one guide me Thank you -- You received this message because you are subscribed to the Google Groups "Django users

Re: Creating test databases in parallel

2020-04-01 Thread Ram Rachum
This is a general article about concurrency in Python. I'm very good with concurrency in Python, I'm asking about a specific case here. On Wed, Apr 1, 2020 at 1:20 PM Motaz Hejaze wrote: > Long article somehow , but very informative ... > > https://realpython.com/python-concurrency/ > > On Wed,

Re: Mobile friendly admin

2020-04-01 Thread Motaz Hejaze
Why dont we implement bootstrap for better responsive view ? On Wed, 1 Apr 2020, 10:19 am Mike Dewhirst, wrote: > On 1/04/2020 7:02 pm, guettli wrote: > > I know there a several third party packages which try to improve the > > great django admin: > > > > See: https://djangopackages.org/grids/g/

Re: Creating test databases in parallel

2020-04-01 Thread Motaz Hejaze
Long article somehow , but very informative ... https://realpython.com/python-concurrency/ On Wed, 1 Apr 2020, 11:25 am cool-RR, wrote: > Hi guys, > > I'm trying to optimize our Django testing workflow. > > We have 7 different databases, and Django spends a lot of time on these > lines: > > > C

Creating test databases in parallel

2020-04-01 Thread cool-RR
Hi guys, I'm trying to optimize our Django testing workflow. We have 7 different databases, and Django spends a lot of time on these lines: Creating test database for alias 'main_database'... Creating test database for alias 'foo_database'... Creating test database for alias 'bar_database'...

Re: Issue with passing parameters in urls

2020-04-01 Thread aniket kamthe
hey Antje, Let me check and get back. I think I have got the problem, I will get back if I have further issues. On Wed, Apr 1, 2020 at 2:32 PM Antje Kazimiers wrote: > Hi Aniket, > > Your thread object in your template is actually a message since your > passing messages to context in your view.

Re: Issue with passing parameters in urls

2020-04-01 Thread Antje Kazimiers
Hi Aniket, Your thread object in your template is actually a message since your passing messages to context in your view. but when you initialize messages you don't set a name attribute. So I would double check your Message model if it has a name attribute. btw your error message didn't display

Re: Mobile friendly admin

2020-04-01 Thread Mike Dewhirst
On 1/04/2020 7:02 pm, guettli wrote: I know there a several third party packages which try to improve the great django admin: See: https://djangopackages.org/grids/g/admin-interface/ A lot of packages are already outdated. AFAIK no sane and simple default package exists. I think the only so

Django bugfix releases: 3.0.5 and 2.2.12.

2020-04-01 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/apr/01/bugfix-releases/ -- 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 emai

Mobile friendly admin

2020-04-01 Thread guettli
I know there a several third party packages which try to improve the great django admin: See: https://djangopackages.org/grids/g/admin-interface/ A lot of packages are already outdated. AFAIK no sane and simple default package exists. I think the only solution to this would be an improvement w