Extended category support for feeds

2017-01-30 Thread Pavlo Kapyshin
Hello, I’ve made a patch that adds ability to specify “scheme” (or “domain”, for RSS) and “label” on elements in RSS and Atom1 feeds. Could you please look at it and maybe suggest some improvements? https://github.com/PavloKapyshin/django/commit/9c03f13d2442f8dacc98514e1f5d1a332bc1dfc1 There is

Re: Replacing the contrib.sites Site model with a setting?

2017-01-30 Thread Shai Berger
On Sunday 29 January 2017 22:54:12 Proxy wrote: > > Actually django.contrib.settings needs to be SWAPPABLE. Then it will > receive +100. (Oooohh... Someone already proposed this. Even with code > sample -> https://code.djangoproject.com/ticket/22779. 3 years ago and > ticket still open... How typi

Re: Methodology for increasing the number of PBKDF2 iterations

2017-01-30 Thread Martin Koistinen
*IMPORTANT NOTICE:* I've just made an important change to the Google Docs Sheet here: https://docs.google.com/spreadsheets/d/16_KdYAW03sb86-w_AFFnM79IaTWQ7Ugx4T0VMfGteTM/edit?usp=sharing Realizing that most security policies make requirements such as "At least 1 character must be a numeral", et

Re: Replacing the contrib.sites Site model with a setting?

2017-01-30 Thread Scot Hacker
+1 for this change. This issue bites our team every time we copy a db from production to dev or stage or local, and certain features break because of the mis-pointed Sites setting. ./s -- You received this message because you are subscribed to the Google Groups "Django developers (Contri

Re: Inconsistencies in Storage API

2017-01-30 Thread Melvyn Sopacua
On Monday 30 January 2017 08:47:10 Tim Graham wrote: > I meant: where does Django call that method that's causing a problem > for your use case? It doesn't. But both listdir() and now that I'm looking, also path() are FileSystemStorage (or better: Hierarchial storage) artifects, that don't belong

Re: Inconsistencies in Storage API

2017-01-30 Thread Tim Graham
I meant: where does Django call that method that's causing a problem for your use case? On Monday, January 30, 2017 at 11:43:27 AM UTC-5, Melvyn Sopacua wrote: > > On Monday 30 January 2017 08:16:20 Tim Graham wrote: > > > Hi, could you point to where the problematic storage.listdir() call is > >

Re: Inconsistencies in Storage API

2017-01-30 Thread Melvyn Sopacua
On Monday 30 January 2017 08:16:20 Tim Graham wrote: > Hi, could you point to where the problematic storage.listdir() call is > in Django? Sure. https://docs.djangoproject.com/en/1.10/ref/files/storage/#django.core.files.storage.Sto rage.listdir > On Monday, January 30, 2017 at 11:02:32 AM UTC-5,

Re: Inconsistencies in Storage API

2017-01-30 Thread Tim Graham
Hi, could you point to where the problematic storage.listdir() call is in Django? On Monday, January 30, 2017 at 11:02:32 AM UTC-5, Melvyn Sopacua wrote: > > Hello, > > > > the current Storage API has some inconsistencies and in short it's > impossible to write anything that requires a directo

Inconsistencies in Storage API

2017-01-30 Thread Melvyn Sopacua
Hello, the current Storage API has some inconsistencies and in short it's impossible to write anything that requires a directory to be made (if storage is FileSystemStorage) in an implementation agnostic way. Aside from that, there's a listdir() method that only makes sense in a FileSystemSt

Re: Removing and renaming Django's Python 2 related helpers

2017-01-30 Thread Collin Anderson
Hi All, django.utils.six _is_ documented, so I think it should go through the normal deprecation timeline. https://docs.djangoproject.com/en/1.11/topics/python3/#writing-compatible-code-with-six Seems fine to me to start the deprecation in 2.0, but I'm sure people would appreciate starting the t

Re: Migrating to new Servers / Trac downtime

2017-01-30 Thread Florian Apolloner
The migration was successfully completed. The docs are still building/updating, but if you encounter any other errors please tell us so. Cheers, Florian On Monday, January 30, 2017 at 3:07:35 PM UTC+1, Markus Holtermann wrote: > > Hi y'all, > > We'll be migrating parts of our infrastructure to n

Migrating to new Servers / Trac downtime

2017-01-30 Thread Markus Holtermann
Hi y'all, We'll be migrating parts of our infrastructure to new servers. This comes with a short (read-only) downtime of Trac, our issue tracker. We expect the documentation and website to remain online. We'll update here when the migration is done. Cheers, /Markus -- You received this mess

Re: Methodology for increasing the number of PBKDF2 iterations

2017-01-30 Thread Patryk Zawadzki
W dniu poniedziałek, 16 stycznia 2017 18:55:25 UTC+1 użytkownik Martin Koistinen napisał: > > Also, if a developer is experienced/motivated enough to *lower* the hash > iterations, s/he'll be more likely to also be experienced/motivated enough > to put other controls in place to compensate. > O