e that sync and async code can write to, on the other hand, it's
often cleaner code to keep these separate (they could still be in the same
package, just two different top-level classes you import).
What I do still want is the ability for sync and async code to work with
each other across p
ou want to limit usage, then just have a linter
rule in your project that rejects RunPython being committed by your
developers.
Andrew
On Fri, Jun 23, 2017 at 2:25 AM, Marcin Nowak
wrote:
> Hi.
>
> At the begining please forgive my engilsh - i'm not a native speaker.
>
> I wr
ing to change the core of the way Django works is going to
come with a very high bar and me and others are going to want to see
concrete proof of backwards-compatability, improvements to developer
experience, and a person or people who are willing to put in all the work
to make and land the pa
Please don't cross-post questions to both mailing lists. I will answer this
on django-users after the weekend.
Andrew
On Sun, Jun 25, 2017 at 9:35 AM, Mike Johnson Jr
wrote:
> So I'm getting the error as described in the title of this post.
>
> I'm following this tut
There is already a run-before constraint you can add to migrations for
exactly this purpose! It's called "run_before" and is in the same format as
the dependencies IIRC.
Andrew
On Fri, Jul 7, 2017 at 6:36 PM, Carl Meyer wrote:
> On 07/07/2017 05:09 AM, Patryk Zawadzki wrote:
ation I want to come back to once this work is mostly done.
Thoughts/opinions would be much appreciated.
Andrew
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and
arate thread (sync)/context (async) and then shuffling data over to the
caller of receive() using queues etc.
Andrew
On Wed, Jul 12, 2017 at 10:50 AM, Artem Malyshev
wrote:
> Hi,
>
> I know we discussed it in private. But I want to bring some ideas in
> public.
>
> During asgi_
I am having the same problem. Anyone have a solution other than patch
hashlib?
On Wednesday, May 31, 2017 at 4:08:54 PM UTC-4, Adam Johnson wrote:
>
> After googling a bit I found this CPython ticket:
> https://bugs.python.org/issue9216 . It turns out that the block is in
> OpenSSL and not rea
All,
I have submitted a ticket where i propose the use of the
"usedforsecurity=False" flag. Please take a look and comment if you have
any thoughts.
https://code.djangoproject.com/ticket/28401
On Sunday, July 16, 2017 at 7:12:50 PM UTC-4, Andrew DiPrinzio wrote:
>
> I am
On Fri, Jul 21, 2017 at 4:10 AM, Tom Christie
wrote:
> Hi Andrew,
>
> Thanks for writing that up so comprehensively!
>
> Definitely in favor of moving to a server:consumer interface - as you say
> that doesn't preclude over-the-network from being one of the possible
>
It seems you send "close": True to the group when a connection comes in,
which means that only one websocket at a time is going to be open in it
(all others in the group will be disconnected when a new one connects)
Andrew
On Sun, Aug 6, 2017 at 9:48 AM, Luís Antonio De Marchi wro
else could cast their eye over this patch.
http://code.djangoproject.com/ticket/4796
Cheers,
Andrew.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this gr
On Sep 22, 2:16 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
> Thanks, Andrew. That patch looks "intuitively" correct; it's in the
> right area of code that I would have expected to find the problem, etc.
> I'll have a think about it through tod
splay them,
> because what they produce is dependent on the current locale setting.
Ah, of course. I hadn't considered the possibility of changing
locales while running.
Cheers,
Andrew.
--~--~-~--~~~---~--~~
You received this message because you are subs
@register.filter
def to(start, finish):
start, finish = int(start), int(finish)
if finish > start:
step = 1
else:
step = -1
return range(start, finish + step, step)
@register.filter
def every(seq, step):
return seq[::step]
Andrew
--~--~-~--~~-
cond string"))
> is that really the way its thought to work? if so, it breaks BC and
> its not handy and intuitive.
Malcolm Tredinnick explains some of the reasons behind the lazy
evaluation of i18n'd strings in this message:
http://groups.google.com/group/django-developers/msg/9e8d
GET, POST, HEAD, etc.
Note that you'd have to consider how reversing the urls should work
also -- would you have to specify the method when reversing,
defaulting to GET?
Andrew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On 10/4/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
>
> I wanted to get a feel for people's opinions on using this approach to
> guarantee that certain code is executed before a request is processed
> (or the interactive shell is loaded).
>
> This is necessary (arguably) to setup a listener to
gt;
> I don't think we want to do this. Signals exist already for exactly this
> purpose. Setting up a way to install functions prior to models being
> imported but after settings are imported allows us to cover all cases
> because you can install class_prepared handlers, as Andrew su
imagine that (request, exc_class, exception, trace_back) would be
more generally useful -- the last three parameters, naturally, being
taken from the tuple returned by sys.exc_info().
Andrew.
--~--~-~--~~~---~--~~
You received this message because you are subscri
t's due; The meat of the patch is Jeremy's, I just
tidied it up a tad.
Andrew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to djang
Tick #2539 "Custom tags and filters can be restricted by namespace"
was one of the ones I was going to pick up during the django sprint,
but someone else beat me to it. However, the other day I noticed that
the patch against it was old, and admitted to be incomplete by its
author. Since namespac
On 10/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Selfishly I would like to be able to do:
> {% load firstapp.library as mylib %}
> {{ context_var|mylib.myfilter }}
I don't think this would play nicely with the existing {% load
library1 library2 %} syntax.
A.
--~--~-~--~
On 10/19/07, jdietrich <[EMAIL PROTECTED]> wrote:
>
> Can someone review the patch I've attached to ticket 3480 and verify
> that it is sane? I think that should close out both #3480 and #3549,
> and it seems a bit more kosher than the patch on #3549
It looks OK to me, rather along the lines of t
On 10/23/07, Bruce Kroeze <[EMAIL PROTECTED]> wrote:
> Why couldn't both coexist, but be mutually exclusive?
>
> {% load firstapp.library as mylib %}
> {% load thislib thatlib theotherlib %}
They could; it would certainly be convenient, and a simple change to
implement, but at the expense of a s
On 10/23/07, Nis Jørgensen <[EMAIL PROTECTED]> wrote:
>
> Siliconbits skrev:
> > We are currently looking for Django developers to join us on a
> > freelance basis.
Please take this discussion to the django-users list. The
django-developers list is for discussion of the development of django
its
Hi everyone,
I'm posting this here as every ticket I try to submit fails with a
"500 Internal Server Error (Submission rejected as potential spam"
message.
After or around r6625 a bug has been introduced whereby when a
newforms error dict is serialized with any serializer (I've tried
simplejson a
sender = forms.EmailField()
cc_myself = forms.BooleanField(required=False)
form = ContactForm({'subject': '', 'sender': 'invalid_address'})
form.is_valid()
json = simplejson.dumps(form.errors) #this should work
On Nov 1, 9:14 pm, andrew gleave <[
Thanks Karen, I'll try that now.
On Nov 3, 2:29 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 11/3/07, andrew gleave <[EMAIL PROTECTED]> wrote:
>
>
>
> > I've added some sample code which illustrates the problem. Still
> > can'
ue something like (0, 96, 1) for
(major_version, minor_version, patch_level) or something
like that (probably with a better name than patch_level,
I don't know exactly what the Django semantics are
for the different parts of the versio number).
Any thoughts?
Peace,
Andrew
--
==
601 - 630 of 630 matches
Mail list logo