On 4/7/07, Forest Bond <[EMAIL PROTECTED]> wrote:
> Attached is a patch that re-implements __repr__ using an iterator over the
> object. Thus, SortedDict's are displayed properly in the Python shell.
Hi Forest,
The best way to make sure this isn't forgotten is to get it into the
ticket system
On Sat, 2007-04-07 at 14:17 +, [EMAIL PROTECTED] wrote:
> There are a lot of fields I'd like to mark as editable=False in my
> models but this make them disappear from the admin interface, both
> when creating and modifying an object. I think it would be useful to
> be able to specify readonly
Hey all,
Many projects require a certain amount of calculations and other
features that are based on organizational (or other) policies, rather
than any technical requirements imposed by Python or Django. As those
policies may change and evolve over time, programmers are often
required to change
On 4/7/07, Noah <[EMAIL PROTECTED]> wrote:
> I'm worried about a trend I've seen before in other frameworks etc.
> They start off easier to use and over time get more and more
> generalized and then become so general and so academically correct
> that there is no point in using them because they'r
On 4/7/07, Noah <[EMAIL PROTECTED]> wrote:
>
> I'm worried about a trend I've seen before in other frameworks etc.
> They start off easier to use and over time get more and more
> generalized and then become so general and so academically correct
> that there is no point in using them because they
Hi,
I don't know how that was before, but with your commits of today, I
can't access the list of some models (some others still work), because
of the error : 'NoneType' object has no attribute 'manager' (/django/
contrib/admin/filterspecs.py in __init__, line 161). I think it is an
issue in my mo
On Apr 6, 7:07 am, "Mike Axiak" <[EMAIL PROTECTED]> wrote:
> Well I can't help but post a more complete solution (;-)) located
> athttp://www.djangosnippets.org/snippets/157/.
>
> To be honest, I find Django tries very hard to be compliant with W3C
> (adding things in favor of WCAG, using XHTML
tonnzor wrote:
> Yes, the comments are invalid, but in this case it should be ignored
> and printed as-is:
>
> Hello
> {# this
> comment
> has
> newlines #} World! some more text
This is a bug with the template lexer. Any token starting with open
tag text is incorrectly treated as a node of that
I'm worried about a trend I've seen before in other frameworks etc.
They start off easier to use and over time get more and more
generalized and then become so general and so academically correct
that there is no point in using them because they're just as general
as if you had to write all your o
There are a lot of fields I'd like to mark as editable=False in my
models but this make them disappear from the admin interface, both
when creating and modifying an object. I think it would be useful to
be able to specify readonly fields that would be defined and validated
when the object is creat
Hi,
This is more-or-less a problem with Python's dict implementation, IMO. It's
really nothing more than a convenience thing, but for SortedDict, repr(d)
doesn't indicate the proper key order. It seems that the standard dict.repr
does not iterate over the dict like I would expect it to.
Attache
On Apr 7, 4:59 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> As an aside: something I have learnt a couple of times: "is a" was a
> blunder on the part of the OO modelling people once you try to use the
> terms internationally. It sometimes becomes hard to explain in languages
> that don't
Hi,
[EMAIL PROTECTED] schrieb:
> I have defined the following aliases in my models. It looks good
> except that ForeignKey has no support for specifying whether you want
> to cascade DELETEs to the foreign class. I'd like to point out that
> IsMy would provide a very simplistic implementation of
13 matches
Mail list logo