Re: Call for feedback: First GSoC patch ready to land

2009-10-30 Thread Russell Keith-Magee
On Sat, Oct 31, 2009 at 9:53 AM, Russell Keith-Magee wrote: > On Sat, Oct 31, 2009 at 9:36 AM, Johannes Dollinger > wrote: >> >> The m2m-refactor patch breaks ManyToManyFields on abstract models: >> "AssertionError: ForeignKey cannot define a relation with abstract >> class A" > > Thanks for the

Re: CSRF changes - backwards incompatible

2009-10-30 Thread Kegan Gan
How does the csrf_token affect TestCase.client.post() ? On Oct 31, 9:28 am, rebus_ wrote: > I would go with the idea that your settings are probably wrong. Just > tried trunk and it seems to work fine. > > You should > read:http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#upgrading-notes

Re: Call for feedback: First GSoC patch ready to land

2009-10-30 Thread Russell Keith-Magee
On Sat, Oct 31, 2009 at 9:36 AM, Johannes Dollinger wrote: > > The m2m-refactor patch breaks ManyToManyFields on abstract models: > "AssertionError: ForeignKey cannot define a relation with abstract > class A" Thanks for the report, Johannes. I'll take a look at this and see what I can do about

Re: Call for feedback: First GSoC patch ready to land

2009-10-30 Thread Johannes Dollinger
The m2m-refactor patch breaks ManyToManyFields on abstract models: "AssertionError: ForeignKey cannot define a relation with abstract class A" {{{ class R(models.Model): pass class A(models.Model): r_set = models.ManyToManyField(R, related_name="%(class)s_set") class Meta:

Re: CSRF changes - backwards incompatible

2009-10-30 Thread rebus_
I would go with the idea that your settings are probably wrong. Just tried trunk and it seems to work fine. You should read: http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#upgrading-notes Also, this is list is not for general Django troubleshooting but rather for Django development. Dav

ImproperlyConfigured: Error importing middleware django.middleware.csrf: "No module named csrf"

2009-10-30 Thread vl4dt
I get this output from a newly created project with the latest trunk: - Traceback (most recent call last): File "E:\Python26\lib\site-

Re: CSRF changes - backwards incompatible

2009-10-30 Thread vl4dt
I just updated my django installation to the latest trunk. I'm new do Django but I'm having this problem, I just ran the usual: django-admin.py startproject testprj cd testprj (edited settings.py so it uses a sqlite3 database) python manage.py syncdb python manage.py runserver Once the server is

Re: Advocacy for Email-01 (email backends)

2009-10-30 Thread Jannis Leidel
>>> I'm keen to see a resolution to this problem. To that end, I'm >>> interested in hearing specific criticisms or concerns with the >>> current backend proposal. I'm also interested in any alternate >>> approaches to this problem. > > Amusingly it appears that since Jannis got his wings^H^H^H^

Re: Advocacy for Email-01 (email backends)

2009-10-30 Thread Andi Albrecht
On Fri, Oct 30, 2009 at 4:03 PM, Alex Gaynor wrote: > > On Fri, Oct 30, 2009 at 10:58 AM, Luke Plant wrote: >> >> On Sunday 25 October 2009 07:22:27 Russell Keith-Magee wrote: >> >>> I'm keen to see a resolution to this problem. To that end, I'm >>> interested in hearing specific criticisms or c

Re: Advocacy for Email-01 (email backends)

2009-10-30 Thread Alex Gaynor
On Fri, Oct 30, 2009 at 10:58 AM, Luke Plant wrote: > > On Sunday 25 October 2009 07:22:27 Russell Keith-Magee wrote: > >> I'm keen to see a resolution to this problem. To that end, I'm >> interested in hearing specific criticisms or concerns with the >>  current backend proposal. I'm also intere

Re: Advocacy for Email-01 (email backends)

2009-10-30 Thread Luke Plant
On Sunday 25 October 2009 07:22:27 Russell Keith-Magee wrote: > I'm keen to see a resolution to this problem. To that end, I'm > interested in hearing specific criticisms or concerns with the > current backend proposal. I'm also interested in any alternate > approaches to this problem. I'm com

Re: Advocacy for Email-01 (email backends)

2009-10-30 Thread Russell Keith-Magee
On Oct 25, 3:22 pm, Russell Keith-Magee wrote: > Hi all, > > The v1.2 votes are in, and it appears that Email-01 (introducing an > email backend API) needs some more discussion. > > I am in complete agreement that Django shouldn't try to become an > email framework. That isn't the intention of t

Re: Call for feedback: First GSoC patch ready to land

2009-10-30 Thread Russell Keith-Magee
On Oct 30, 4:33 pm, Russell Keith-Magee wrote: > Hi all, > > I've just finished the polishing the first part of Alex's GSoC work to > add Multi-db, which I'd like to commit. This is a call for feedback. I forgot to mention - the patch _should_ be completely backwards compatible, and require no

Call for feedback: First GSoC patch ready to land

2009-10-30 Thread Russell Keith-Magee
Hi all, I've just finished the polishing the first part of Alex's GSoC work to add Multi-db, which I'd like to commit. This is a call for feedback. This first patch isn't directly related to multi-db, but it is a prerequisite that will allow the multi-db code to function. The goal of this patch

Re: non-relational DB

2009-10-30 Thread Waldemar Kornewald
On Thu, Oct 29, 2009 at 9:51 PM, Alex Gaynor wrote: > I haven't had a chance to look at it, and I probably won't until at > least a few of the items on my plate are dealt with.  That being said > I am extremely leery about investing time in something with names like > "QueryGlue" as to me they im