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 d

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 in

Re: Test reordering and TransactionTestCase cleanup

2012-05-07 Thread Anssi Kääriäinen
On May 5, 4:31 pm, Andreas Pelme wrote: > > On May 4, 2:30 pm, Karen Tracey http://gmail.com)> > > wrote: > > Thanks for the link. While reading the previous threads I spotted at > > one blocker issue: the first TransactionTestCase will not start with > > zeroed database sequence values. To preve

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: htt

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 > > bug. > > Here is the code:

Application init inconsistent

2012-05-07 Thread Scott Sadler
Hi all, I'm making some extensions to the Django AdminSite for dashboard I'm working on, and I have a couple of questions. My urls.py looks something like this: from django.utils.importlog import import_module from django.contrib import admin my_admin = import_module('my.admin')

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 = models.URLField(unique=True) >    

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, null=True

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 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: 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 w

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 htt