Re: GSoC Check-in: Security Enhancements

2012-05-07 Thread Rohan Jain
Hi, Last week I looked into the Ticket [#18194][0]: - Trivial attempts to handle the issue. - Wrote a minor initial patch. - The test fails for Cache and Cookie backend. Also, I looked at the talks from Paul regarding advanced security topics at py/django cons. Realised that why I should not

Re: Redesign of djangoproject.com?

2012-05-07 Thread Hooshyar Naraghi
Hello all, I decorated my design a little, primarily in the blocks sites that use Django and Django Sponsors. https://docs.google.com/open?id=0B9D91R1_2bXLVnM3b2NHLXJ5RXM https://docs.google.com/open?id=0B9D91R1_2bXLSlE1S2JBYXpYUE0 https://docs.google.com/open?id=0B9D91R1_2bXLRUJFTlU0SkRLN1E

Re: Redesign of djangoproject.com?

2012-05-07 Thread Andre Terra
I'm just a hobbyist, but since you're asking for feedback, here's my humble opinion. I don't see a select input as the best solution for the "I am.." issue. Let's assume we have the 'new to django' option as the default for when a user first loads djangoproject.com, and a manager then visits the

Re: Customizable Serialization check-in

2012-05-07 Thread Tom Christie
Hey Piotr, Here's a few comments... You have 'fields' and 'exclude' option, but it feels like it's missing an 'include' option - How would you represent serializing all the fields on a model instance (without replicating them), and additionally including one other field? I see that you could

Re: Customizable Serialization check-in

2012-05-07 Thread Piotr Grabowski
W dniu 06.05.2012 10:45, Russell Keith-Magee pisze: - I'm not sure I follow how class_name would be used in practice. The act of deserialization is to take a block of data, and process it to populate an object. In the simplest case, you could provide an empty instance (or factory) that is

bulk_create and ManyToManyField: bug ?

2012-05-07 Thread Michael
Hi, I am using bulk_create on a ManyToMany relationship and I think there is a bug. Here is the code: class Company(models.Model): url = models.URLField(unique=True) class Website(models.Model): url = models.URLField(unique=True) companies = models.ManyToManyField(Company,

Re: bulk_create and ManyToManyField: bug ?

2012-05-07 Thread Anssi Kääriäinen
On May 7, 10:53 pm, Michael wrote: > Hi, > > I am using bulk_create on a ManyToMany relationship and I think there is a > bug. > Here is the code: > class Company(models.Model): >     url = models.URLField(unique=True) > > class Website(models.Model): >     url =

Re: bulk_create and ManyToManyField: bug ?

2012-05-07 Thread Michael
ok, I created it: https://code.djangoproject.com/ticket/18285 Le lundi 7 mai 2012 22:04:31 UTC+2, Anssi Kääriäinen a écrit : > > On May 7, 10:53 pm, Michael wrote: > > Hi, > > > > I am using bulk_create on a ManyToMany relationship and I think there is > a >

Re: bulk_create and ManyToManyField: bug ?

2012-05-07 Thread Michael
So the only option I have for now is to iterate through each object and call create right ? list_companies = [Company(url='...'), Company(url='...')] for c in list_companies: w.companies.create(c) Best, Michael Le lundi 7 mai 2012 22:46:10 UTC+2, Michael a écrit : > > ok, I created it:

Re: Customizable Serialization check-in

2012-05-07 Thread Piotr Grabowski
W dniu 07.05.2012 20:13, Tom Christie pisze: Hey Piotr, Here's a few comments... You have 'fields' and 'exclude' option, but it feels like it's missing an 'include' option - How would you represent serializing all the fields on a model instance (without replicating them), and additionally

FYI

2012-05-07 Thread Ahmad
A list of open source software is available at http://www.osslinks.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to