|
|
From: Michael Radziej <m...@noris.de>
Date: Wed, 04 Oct 2006 14:39:52 +0200
Local: Wed, Oct 4 2006 8:39 am
Subject: Re: [patch] serializer can't resolve a one-to-many relation from the "foreign" side
Hi Nikolaus,
Nikolaus Schlemm schrieb: > hi, It would be easier to comment on it if you would provide a patch > in case anybody else has been trying to include one2many-relations when > http://code.djangoproject.com/ticket/2843 > would be great if someone else could test this as well. thanks! with full path, so that track can recognize its context and display it properly. Look at the other patches if you don't see how. I'd like to have a way to control through which foreign key Anyway, how is this supposed to behave for a chain of foreign Michael You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Nikolaus Schlemm <n...@nikl.net>
Date: Wed, 4 Oct 2006 15:03:30 +0200
Local: Wed, Oct 4 2006 9:03 am
Subject: Re: [patch] serializer can't resolve a one-to-many relation from the "foreign" side
hi Michael,
> It would be easier to comment on it if you would provide a patch after looking at other patches, I now called "svn diff" from the django > with full path, so that track can recognize its context and > display it properly. Look at the other patches if you don't see how. root-dir and attached that, but unfortunately trac still won't display it properly. is there anything else that needs to be done with it? > I'd like to have a way to control through which foreign key that's a valid point, but possilby an issue of its own. currently, the export > fields it should expand, since I might not need all the data. > That's also a point with the current implementation: It doesn't > let me skip data fields not needed. of one2many relations would be controlled by a boolean. but in generally speaking, I think the fields to be exported could be passed in as a list parameter.. > Anyway, how is this supposed to behave for a chain of foreign nope, this simply compiles a list of the primary keys of the "many" related > keys? Would it go through all the related models and the models > related to the related models, etc.? models when you export the "one" - similarly to how many2many relations are exported. -- cheers, Nikl You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Nikolaus Schlemm <n...@nikl.net>
Date: Wed, 4 Oct 2006 17:34:26 +0200
Local: Wed, Oct 4 2006 11:34 am
Subject: Re: [patch] serializer can't resolve a one-to-many relation from the "foreign" side
> I'd like to have a way to control through which foreign key more and more I'm thinking this is definitely an excellent idea!! e.g. you > fields it should expand, since I might not need all the data. > That's also a point with the current implementation: It doesn't > let me skip data fields not needed. wouldn't necessarily want to export password fields ;) -- cheers, Nikl You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
|
|
From: "samulih" <mitakum...@gmail.com>
Date: Thu, 05 Oct 2006 08:21:24 -0700
Local: Thurs, Oct 5 2006 11:21 am
Subject: Signals for m2m object creation/deletion
Howdy!
In short: changes to many-to-many fields do not get signalled via I also created a ticket on http://code.djangoproject.com/ticket/2861 The actual questions: 1) Good idea / bad idea? - samuli You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
|
|
From: Mikeal Rogers <mik...@osafoundation.org>
Date: Thu, 5 Oct 2006 20:16:13 -0700
Local: Thurs, Oct 5 2006 11:16 pm
Subject: Test framework in memory database
I'm working on adding some selenium support in to the test framework. The first thing i obviously had to do was get the test server up and The test framework defaults to using an in memory database if it sees Seeing this issue made me question why using an in memory database is After finishing this I realized it's quite useful on it's own, even Thanks, -Mikeal  Here is the traceback from the earlier issue when using the in memory $ python manage.py test Validating models... Django version 0.96-pre, using settings 'trunk.settings' File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ OperationalError: no such table: django_session You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Malcolm Tredinnick <malc...@pointy-stick.com>
Date: Fri, 06 Oct 2006 13:31:47 +1000
Local: Thurs, Oct 5 2006 11:31 pm
Subject: Re: Test framework in memory database
Hey Mikael,
Excuse me for being very dense here, but I'm missing what's going on here. You found a problem with in-memory SQLite and then did or didn't solve it? Or you just worked around it? Signed, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: Mikeal Rogers <mik...@osafoundation.org>
Date: Thu, 5 Oct 2006 20:43:02 -0700
Local: Thurs, Oct 5 2006 11:43 pm
Subject: Re: Test framework in memory database
> Excuse me for being very dense here, but I'm missing what's going on Sorry for the confusion. > here. You found a problem with in-memory SQLite and then did or didn't > solve it? Or you just worked around it? I worked around it. It's still an outstanding issue, I'm not that Seeing the issue made me question why the framework defaulted to this Note: I've added in some more comment and removed some old imports -Mikeal You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: "JP" <jpelle...@gmail.com>
Date: Fri, 06 Oct 2006 03:59:52 -0000
Local: Thurs, Oct 5 2006 11:59 pm
Subject: Re: Test framework in memory database
Mikeal Rogers wrote: I'd bet this is related to some issues I've seen in trying to get the > > Excuse me for being very dense here, but I'm missing what's going on > > here. You found a problem with in-memory SQLite and then did or didn't > > solve it? Or you just worked around it? > Sorry for the confusion. > I worked around it. It's still an outstanding issue, I'm not that multi-db branch tests passing post r3661. The trouble is (or seems to me to be) that anything that uses the test client causes the request_finished signal to fire, which causes connection.close() to be called, which makes the in-memory database go away, or at least lose all of the tables, etc, that were populated into it during the "request". JP You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
From: "Russell Keith-Magee" <freakboy3...@gmail.com>
Date: Fri, 6 Oct 2006 12:25:22 +0800
Local: Fri, Oct 6 2006 12:25 am
Subject: Re: Test framework in memory database
On 10/6/06, JP <jpelle...@gmail.com> wrote:
> I'd bet this is related to some issues I've seen in trying to get the in-memory databases to address this exact problem. In my case, the second test client test that was executed was failing because the request_finished signal for the first test was closing the connection and dropping tables. It looks like this change has been merged into multi-db, so I can't Russ Magee %-) You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
|
|
Date: Fri, 06 Oct 2006 08:01:49 -0000
Local: Fri, Oct 6 2006 4:01 am
Subject: Re: Has anyone written an appointment-scheduling calendar template yet?
carlwenrich wrote: Doesnt look like anyone has. What sort of thing did you have in mind? > If so, is the source available for download? A way of producing little monthly calendars with highlighted days when A whole set of Year-, month-, week- and day-per page templates? There should be plenty of python code around to help with these Barry You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2009 Google |