Keep https://code.djangoproject.com/ login

2020-01-23 Thread אורי
Django developers, https://code.djangoproject.com/ logs me out after about 24 hours, and each time I have to login again (with GitHub). Why doesn't it keep me logged in as long as I'm logged in with GitHub? This is a harass and I think this week I already logged in a few times. אורי

Re: ngettext_lazy and ngettext

2020-01-23 Thread Matemática A3K
On Fri, Jan 10, 2020 at 8:38 PM Matemática A3K wrote: > Trying to recap all the discussion done in the mailing list, Trac and > Github: > > The problem that was originally reported in #30439 was about mixed plural > forms in catalogs bundled with Django, which led to broken translations. > >

Re: Suggestion: required_ancestor relation for plugins.

2020-01-23 Thread Frédéric Roland
Hello Jacob, I see that what I need require a lot of knowledge about how Django-CMS work at the javascript frontend level and I'm not there yet. I found a quick work around. My descendant child plugin has a list of ancestors that it can be included in and I get all the parents class name and

Re: More standard template filters

2020-01-23 Thread keshav kumar
There are already filters which works on advance logic. for example :- 'join'. So, is it not good to add filter for startswith, endswith and contains as well? On Friday, 5 April 2019 14:46:53 UTC+5:30, Adam Johnson wrote: > > FYI Jinja2 allows (most) python expressions, so this would Just

Re: Getting error while running tests for postgis

2020-01-23 Thread Tim Graham
Actually, this is somewhat on topic as it involves running the Django test suite. To solve the failure, add this to your test settings: PASSWORD_HASHERS = [ 'django.contrib.auth.hashers.MD5PasswordHasher', ] It seems like a bug that that test assumes MD5PasswordHasher. As for the skipped

Re: Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
I am working on a ticket need to run tests for postgis, isn't it concerned with the development of django itself? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop

Re: Getting error while running tests for postgis

2020-01-23 Thread Confidence Yobo
I'm sorry but you have found the wrong mailing list for this post. This mailing list is about the development of django itself. If you have any issues with your code I suggest you ask in any programmers community like stackoverflow or reddit. On Thu, Jan 23, 2020 at 8:08 PM Pratik kumar wrote:

Getting error while running tests for postgis

2020-01-23 Thread Pratik kumar
I was running the test With for GeoDjnago using the following commands ./runtests.py --settings=postgis with the following settings file DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME':'defaultd', 'USER': 'user',

Suggestion: required_ancestor relation for plugins.

2020-01-23 Thread Frédéric Roland
Hello, the parent/child based restriction for plugins is a bit too much restrictive for my use case. I have a suggestion but I'm not sure how to implement it. I'd like some guidance on what to modify to achieve what I want. The idea is to have a required_ancestor to some plugins. For example

Re: Feature request: AbstractPermission and AbstractGroup models

2020-01-23 Thread Mariusz Felisiak
You can leave your comments on the discussion that is attached to the ticket, there is no need to start a new one. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop

Re: Feature request: AbstractPermission and AbstractGroup models

2020-01-23 Thread LBris
Yes I saw this ticket before requesting the feature but I don't know at which state this ticket is (is it in progress ? do they need help ? Will it be even possible ? Will it be done and integrated to Django ?) I'm aware with other solutions such as doing a OneToOne relation but in my opinion

Re: Feature request: AbstractPermission and AbstractGroup models

2020-01-23 Thread Mariusz Felisiak
Please check ticket 29748 [1] and a previous discussion [2]. [1] https://code.djangoproject.com/ticket/29748 [2] https://groups.google.com/forum/#!topic/django-developers/llQJZUKejXg/discussion -- You received this message because you are subscribed to the Google Groups "Django developers

Feature request: AbstractPermission and AbstractGroup models

2020-01-23 Thread LBris
Hi everyone. As it is possible to customize the User model using AbstractUser or AbstractBaseUser, it would be great to be able to do the same with groups and permissions. The goal is to provide 2 new abstract models "AbstractGroup" and "AbstractPermission", in order to benefit from all the