Re: Issues surrounding IDN validation and URLs in general

2010-02-28 Thread Nikolay Panov
>> Validation of IDN (Internationalized Domain Names) was added in >> [12474], but I noticed that the verify_exists option doesn't work when >> you use an IDN. This is caused by urllib2 not supporting IDN and the >> validation code using the original unicode version of the URL when >> testing for e

Where are 2.0 ideas/fixes being tracked?

2010-02-28 Thread Idan Gazit
I'm looking at http://code.djangoproject.com/ticket/12359, and (with some guidance from Alex_Gaynor), think that there's really two fixes here: a short term, backwards-compatible fix which removes the forced help_text appendage, and a long-term, backwards-incompatible fix which adds a help_text lay

Re: Issues surrounding IDN validation and URLs in general

2010-02-28 Thread Ulrich Petri
This seems only to be true for python 2.4. In 2.5 and above urlopen will happily accept IDNs. Are you sure? Yes: ~/ python2.5 Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information

Re: dbsettings, and user configurable app settings

2010-02-28 Thread Carl Meyer
On Feb 27, 1:53 pm, stuff4ash wrote: > b) easy way to register, override, configurations for apps. > a settings.py in an app folder that is "magically" loaded the same way > other things are would suffice, but there has to be a way to: I've never understood the desire for more magical behavior

Re: Where are 2.0 ideas/fixes being tracked?

2010-02-28 Thread Russell Keith-Magee
On Sun, Feb 28, 2010 at 6:26 PM, Idan Gazit wrote: > I'm looking at http://code.djangoproject.com/ticket/12359, and (with > some guidance from Alex_Gaynor), think that there's really two fixes > here: a short term, backwards-compatible fix which removes the forced > help_text appendage, and a long

Abstract models and their managers

2010-02-28 Thread Stephen McDonald
Hi there, I'm just getting an understanding around how managers from abstract models are applied to a subclass model and it appears as though if a model inherits from two abstract models that each define a manager with the same attribute name, eg "objects", then normal mro applies and the derived

Re: Deprecating cmemcache, adding pylibmc

2010-02-28 Thread Jacob Burch
Thanks all for the helpful discussion here. From the sounds of thing, my course of action will be: 1) Get a patch that throws a FutureDeprecationWarning when cmemcache is used + Change of the docs to note the coming deprecation of cmemcache 2) Begin working on a more involved patch that hopefully

Proposal - admin actions with no elements selected

2010-02-28 Thread George Karpenkov
Hi there, Currently, if no elements are selected, any action selected in the admin interface will not fire. However, sometimes it is useful to create actions which do not require any elements to be selected - ie x removing all elements x drag-n-drop reordering of all elements x arranging element

Re: Proposal - admin actions with no elements selected

2010-02-28 Thread Alex Gaynor
On Mon, Mar 1, 2010 at 12:23 AM, George Karpenkov wrote: > Hi there, > > Currently, if no elements are selected, any action selected in the > admin interface will not fire. > > However, sometimes it is useful to create actions which do not require > any elements to be selected - ie > > x removing