On Friday 20 June 2008 23:40:43 Michael Glassford wrote:
> Django builds a list of all the objects that are foreign keyed to
> the one you are deleting and deletes those first, so it bypasses
> any ON DELETE clauses. I assume this is what you're seeing.
Yes, this is the area I'm testing, I'm
Django builds a list of all the objects that are foreign keyed to the
one you are deleting and deletes those first, so it bypasses any ON
DELETE clauses. I assume this is what you're seeing.
I'm preparing to propose a patch that will add ON DELETE and ON UPDATE
support to Django (so that you
Hi all,
I'm trying to pin down what I think is a bug in Model.delete(), but
I'm encountering bizarre behaviour with my tests that I can't
reproduce in normal circumstances. In particular, it is as if
foreign key constraint checking has been turned off.
The attached patch adds tests that can
On Thu, Jun 19, 2008 at 10:47:36PM +0100, Ben Firshman wrote:
> Not that I just want to copy other projects, but it'd would be nice to
> bring together all the best features of all the Django search
> solutions that already exist. It would be ideal if the developers of
> all these projects
Thanks for your quick answser !
I join #django-fr and #django. Are you on these channels ?
About the solution, I subclass Collection and Entry. Perhaps we can pass the
nested Collection to the master Collection ? But we must also pass the reg
exp of nested Collection.
Bonne soirée
Clément
Salut Clément,
Le 19 juin 08 à 16:15, tifosi a écrit :
>
> Hi David,
>
> Thank for your code and the repository, I use the django-rest-
> interface and
> it's good news, that someone continue the job.
>
> I would like to get nested resources (e.g.: /articles/1/comments/ or
>
Hi Mike,
> If I can determine that there is sufficient interest that there's a
> decent chance of it being used (always assuming the implementation is
> found acceptable, of course), I'll definitely work on it.
+1
This feature would be very nice to have.
Thanks!
Sander
Russell Keith-Magee wrote:
> On Thu, Jun 19, 2008 at 11:00 PM, Michael Glassford
> <[EMAIL PROTECTED]> wrote:
>> Now for one of the reasons that I've been trying to get the Django unit
>> tests running: I'm interested in submitting a patch that adds some ON
>> DELETE and ON UPDATE support in
On 19 Jun 2008, at 6:07 pm, Jacob Kaplan-Moss wrote:
> If you know the correct incantation to add other git-svn-created
> branches, feel free to school me :)
I think Brian Rosner covered pulling in all branches from svn on his
screencast about django and git [0] but I can't off the top of my
I've implemented some code already to de-reference (SET_NULL) on
delete, in a view which first presents a list of objects which will be
deleted and a list of objects which will be de-referenced. It might
not be the most efficient approach, but it could be a starting point.
def _clear(instance):
On Jun 20, 3:21 am, "Waylan Limberg" <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 19, 2008 at 1:52 PM, Alexander Solovyov
>
> <[EMAIL PROTECTED]> wrote:
>
> > On Thu, Jun 19, 2008 at 8:09 PM, Jacob Kaplan-Moss
> > <[EMAIL PROTECTED]> wrote:
> >> Yeah, hgsvn is one-way,
>
> > H
>
> >>hg help
Hi Clement,
Have a look in the django-rest-interface examples [1] they cover this
exactly. You can do what you want by sub-classing Collection.
[1]
http://code.google.com/p/django-rest-interface/source/browse/trunk/django_restapi_tests/examples/custom_urls.py
regards
Matthew
On Jun 20,
12 matches
Mail list logo