The name "mark_safe" unnecessarily exposes an implementation detail. People
who misunderstand this API probably have no idea how this "marking"
happens, it would make sense to name this after the *effect* it achieves:
"don't process / escape me, I've been sanitized somewhere else".
Any of these
Sorry, for a late reply.
Personally I don't feel that it's a particularly common need, but I can see
> your use case. More common is that a reasonable filter is applicable - say
> books with a rating over 80.
>
Yeah, I thought about using some other filter but it's a bit harder to
control the
>
> However, I don't think this is subject to the kind of problem you describe
> as the inner queryset should be turned into a subquery of the main queryset.
Yes, I can confirm that I used this solution and it returns a QuerySet. It
does not perform query at module load time in my case.
It's
documented in docs.
If there isn't any problem with that approach I'm ready to implement this.
Cheers,
Kamil Gałuszka
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving e
Hi,
Thanks for explanation. I think your reasoning make sense.
Cheers
Kamil Gałuszka
On Monday, May 27, 2013 10:48:35 AM UTC+2, Claude Paroz wrote:
>
>
>
> Le lundi 27 mai 2013 07:38:54 UTC+2, Carl Meyer a écrit :
>>
>> Hi Kamil,
>>
>> On 05/26/2013 05:3
python.org/live/current/doc-html/handlers.html#wsgi-handler
New version was released 13 November http://modpython.org/. I think someone
started refactoring old mod_python and moved project to github.
Cheers
Kamil Gałuszka
--
You received this message because you are subscribed to the Google
I understand that and I agree that it maybe doesn't have any uptake. But,
my reason for sending that information was question from today on
django-users about mod_python support on Django.
https://groups.google.com/forum/#!topic/django-users/449r3gUsN54
Cheers,
Kamil Gałuszka
2013/11/25
iting UnitTest
for that?
Cheers
Kamil Gałuszka
On Saturday, April 19, 2014 1:50:19 PM UTC+2, Jannis Leidel wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Trey, all,
>
> I know we shortly talked about that at PyCon but I forgot to mention
> that a whi
Hi
I have just stumbled upon a problem with how ModelChoiceField handles its
'queryset' argument and I'd like to ask whether it's a deliberate design
choice or if I should report it as a bug.
Let's say you have a model called Book:
class Book(models.Model):
rating = models.Integer
Hi guys,
What do you think about new filter for splitting strings in templates? We
need opinion for ticket: https://code.djangoproject.com/ticket/29433
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To un
10 matches
Mail list logo