Re: Make timeout property for PasswordResetTokenGenerator

2022-08-23 Thread Roger Gammans
Hi If it's intended as a reference implementation, then I would expect PasswordResetTokenGenerator to use Signer or TimestampSigner internally , but I was surprised to discover that it didn't use either. Isn't those entry points the better API to advise for use rather than the direct use of hma

Re: Can we move the activity on this list to the Forum now?

2022-11-28 Thread Roger Gammans
Hi I can't speak for others, but I personally STRONGLY value the fact that this discussion happens in my inbox, not on yet another website. But perhaps the forum still supports this reading mode? On Mon, 2022-11-28 at 05:38 -0800, Carlton Gibson wrote: > Hi all. > Given the issues with Tom's acc

Re: Implement QuerySet.__contains__?

2020-06-02 Thread Roger Gammans
Hi, Here are some performance numbers against a local SQLite in case any one is interested. GL has about 40,000 records for reference.324 was just a random number chosen, of different 'in's >>> sys.version'3.7.2rc1 (default, Dec 12 2018, 06:25:49) \n[GCC 8.2.0]'>>> django.__version__'3.0.6'>>> im

Re: Implement QuerySet.__contains__?

2020-06-02 Thread Roger Gammans
; n = 100_000 ; timeit.timeit('m.GL.objects.filter(pk=x.pk)', setup='import myapp.models as m;x = list(m.GL.objects.all())[- 1]', number=n)/(n/1_000_000)118.99649207945913 -- Roger Gammans -- You received this message because you are subscribed to the Google Groups "Dj

Re: The blacklist / master issue

2020-06-16 Thread Roger Gammans
Funny you should say that but the git developers mailing list in is awash with patches and shouting about just this at the moment. It looks likely the patches will go in too - so that's not much of an arguement against. On Tue, 2020-06-16 at 16:35 +0300, אורי wrote: > I think master is the defaul

Pickling - Re: Cache framework

2020-08-17 Thread Roger Gammans
makes me wonder if there is a argument to abstract the pickling, so that application can do something special in their uses case. -- Roger Gammans Gamma Science Ltd. (GB Nr. 07356014 ) -- You received this message because you are subscribed to the Google Groups "Django develope

Re: Pendolumn

2020-09-10 Thread Roger Gammans
his is probably a question for the django-users list not the django-developers list. -- Roger Gammans Gamma Science Ltd. (GB Nr. 07356014 ) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe

Re: Oddity found in password creation

2020-10-07 Thread Roger Gammans
icator you find it feel too strict. https://github.com/koslibpro/django-pwned-password/ -- Roger Gammans Gamma Science Ltd. (GB Nr. 07356014 ) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group

`select_related` relation control

2020-12-03 Thread Roger Gammans
at the chance of the core team accepting it was. (with unittests)? -- Roger Gammans Gamma Science Ltd. (GB Nr. 07356014 ) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from t

Re: `select_related` relation control

2020-12-03 Thread Roger Gammans
django-auto-prefetch, there is some good stuff in there to think about. -- Roger Gammans Gamma Science Ltd. (GB Nr. 07356014 ) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe fro

Re: Django website Down

2021-06-08 Thread Roger Gammans
It may have had something to do with this? I seem to remember fastly did offer some OSS projects some CDN services. https://www.bbc.co.uk/news/technology-57399628 On Tue, 2021-06-08 at 14:17 +0100, Wadinga Leonard Ngonga wrote: > It’s up, I can access it from my location(Buea, Cameroon). Try wit

Re: Composite Primary Keys

2016-02-17 Thread Roger Gammans
Hi, We've got some patches that we are using in production, against 1.8 . Out long term aim would be to get them ready for a PR , but I they are missing all sorts of things, such unit tests and migrations (we don't use migrations at the moment - long story, so these haven't been tested). The othe

Re: Composite key development

2017-02-27 Thread Roger Gammans
cations in the model. [2] Initially developed by by one of by colleagues based on some other patches he found  - We may unfortunately have lost the attribution. --  Roger Gammans -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Dj

Re: Pre-DEP: Meta.without_primary_key (related to CompositeFields)

2017-05-25 Thread Roger Gammans
Hi, This would be useful for us too ; this is our use-case, again this is a legacy schema which are rebuilding the system to use django, but there are some models which we are using composite-pk support for due to the following. Having these feature many we could use a vanilla django.(eg one with