ManyToMany model clean validation of related fields

2015-04-30 Thread abaldwintech
Suppose I have a model with a ManyToManyField similar to this one (the model Word has a language, too): class Sentence(models.Model): words = models.ManyToManyField(Word) language = models.ForeignKey(Language) def clean(self): for word in self.words.all(): if

Guessable entry points

2015-04-30 Thread Ryan Hiebert
https://github.com/django/django/pull/4588 I this PR I suggest to add a `django` entry point that is identical to `django-admin`, and a `__main__.py` that also is a mirror of `django-admin`. There’s also related discussion at

Re: Any Windows users who could help setting up Jenkins slaves?

2015-04-30 Thread Łukasz Rekucki
Hi, I can't devote much of direct work time right now, but I have quite a lot of (mostly bad) experience with Jenkins and Windows, including setting up Webdriver nodes. If you have any specific doubts/questions, feel free to contact me. BR, Łukasz On 30 April 2015 at 17:56, Markus Holtermann

Re: Allow deferral of ModelSignal callback invocation until after transaction commit

2015-04-30 Thread Carl Meyer
Hi Andrew, On 04/30/2015 06:13 AM, Andrew Godwin wrote: > I agree that perhaps making it part of signals is not in everyone's > favour (as signals are kind of unloved) but I also like the simplicity > of Christopher's approach - the patch is small and understandable, and > using it is pretty easy

Re: Any Windows users who could help setting up Jenkins slaves?

2015-04-30 Thread Markus Holtermann
Hey Tim, I haven't done it myself but if nobody else volunteers I'm up for the challenge. /Markus On Thursday, April 30, 2015 at 5:49:27 PM UTC+2, Tim Graham wrote: > > It would be nice to add Windows support to our continuous integration. Do > we have anyone with experience setting up

Any Windows users who could help setting up Jenkins slaves?

2015-04-30 Thread Tim Graham
It would be nice to add Windows support to our continuous integration. Do we have anyone with experience setting up Windows slaves for Jenkins who could help with this? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django

Re: Allow deferral of ModelSignal callback invocation until after transaction commit

2015-04-30 Thread Andrew Godwin
I agree that perhaps making it part of signals is not in everyone's favour (as signals are kind of unloved) but I also like the simplicity of Christopher's approach - the patch is small and understandable, and using it is pretty easy (especially to upgrade existing code into "safe" code). Unless