Yes, I like the idea of a callback that can be overridden. Alex - are
you saying this is an ajax solution or a solution that takes place at
formset creation time?
Also, in the rendered output for a field, think it would be nice for
non-editable fields to have ids associated with them the same wa
That is definitely a very interesting and useful example, appreciate
you posting it. I just took a quick look at the source for class
ModelAdmin and it seems to me that the get_changelist_formset() and
get_changelist_form() methods do not have the obj argument, so I don't
see how to do the same t
On Wed, May 27, 2009 at 2:21 AM, Tarun Pasrija wrote:
>
> Hi
>
> In my effort to contribute rectification of Django test suite, I ran
> it using the following command to select the model as m2m_through
>
> $ python runtests.py --settings=settings --verbosity=2 m2m_through
>
> The output Failure r
On Tue, May 26, 2009 at 7:05 PM, Ulrich Petri wrote:
>
> >
> > I don't know - maybe my needs are unusual. It's definitely not your
> > standard blog app ... so if I am too much on the outskirts for this to
> > be something that we consider in the development community, I can
> > understand that.
>
> I don't know - maybe my needs are unusual. It's definitely not your
> standard blog app ... so if I am too much on the outskirts for this to
> be something that we consider in the development community, I can
> understand that. But it seems to me that having a dynamic (ie, object
> based) wa
Well, I supose we resolve the problem.
Our style programming is reverse then the accurate. Firstly we create
the databases, after we make `inspectdb`, and create our models after
this.
In conformity with the django code(correct me if I'm wrong),
permissions are only created when some new model a
Hey guys,
Yes, I must say, in any advanced form there are fields that depends
one from another.
Country/Region/City, Project/Issue, Project/Owner, User/Account,
Group/User... when two selects appear, there's not zero probability
they will depend on each other. Also often a checkbox can
enable/dis
Hi Marty, Jerome,
I saw such widget in time planning apps (Jira bugtracker) and like it very much.
When I need to tell that I will work "4 hours" on task, i don't want
to see [ 0 ] days [ 4:00:00 ] seconds, and when I tell milestone will
long for 6 weeks, i want to see just "1 month 2 weeks", not
On Tue, May 26, 2009 at 2:16 PM, Jerome Leclanche wrote:
> Right now, removing months and years is a matter of removing two lines
> from the patch. I didn't want to write a patch just to get told "it's
> lacking months/years!"; I'm also in favour of dropping it and
> following Python's style; but
Hi
In my effort to contribute rectification of Django test suite, I ran
it using the following command to select the model as m2m_through
$ python runtests.py --settings=settings --verbosity=2 m2m_through
The output Failure result is as follows:-
Failed example:
Person.objects.filter(membe
Gul, appreciate the feedback.
Right now, removing months and years is a matter of removing two lines
from the patch. I didn't want to write a patch just to get told "it's
lacking months/years!"; I'm also in favour of dropping it and
following Python's style; but up until now no one except yoursel
Okay, I'm finally back around looking into this situation, and I have
to say I'm not thrilled with the direction it's currently headed. I've
never liked the "1h 30m 10s" syntax in any situation I've ever
encountered it, and I highly doubt that it will be meaningful to much
of anyone. That's person
I'm not sure what you mean by 31d bug. When I input "31d", I get a
value of "1m 13h 30min 56s 167ms 200us", which is the correct
duration. (=> http://www.google.com/search?q=how+many+days+in+a+month
).
The problem of breaking into smaller parts is that a month isn't an
integer amount of days; if i
Hi Jerome,
On Mon, May 25, 2009 at 9:27 AM, Jerome Leclanche wrote:
>
> Hi Yuri, thanks for the fixes. Two questions:
>
> - Why mention *args at all (l20,21) if it's to assert they don't exist?
Just to show friendlier user message.
Without args TimeDelta(x) is TimeDelta(days=x) so it tells that
14 matches
Mail list logo