Re: Contributing Guide Request For Input

2011-02-19 Thread Gabriel Hurley
I've added a patch to ticket #14401 based on the contributions people made to the wiki. This is the final call for comments and review before it gets officially added. Thanks! - Gabriel Hurley -- You received this message because you are subscr

Re: r15580 breaks change list result template overwrites

2011-02-19 Thread Russell Keith-Magee
On Sunday, February 20, 2011, Sean Brant wrote: > Looks like r15580 modified the way change list rows are returned. The > template used to just iterate over {{ result }} but now requires > iteration over {{ result.row }}.  This will breaking anyones templates > that happen to overwrite admin/chang

r15580 breaks change list result template overwrites

2011-02-19 Thread Sean Brant
Looks like r15580 modified the way change list rows are returned. The template used to just iterate over {{ result }} but now requires iteration over {{ result.row }}. This will breaking anyones templates that happen to overwrite admin/change_list_results.html. Does overwriting admin templates fal

Re: A word about CSRF Protection and AJAX

2011-02-19 Thread Sayane
http://code.djangoproject.com/ticket/15354 2011/2/19 Luke Plant > On Sat, 2011-02-19 at 12:00 +0100, Sayane wrote: > > There's a problem with CSRF Protection and XHR requests. It works > > perfectly if 'csrftoken' cookie has been set already. But what if it's > > not? > > Cookie with token will

Re: A word about CSRF Protection and AJAX

2011-02-19 Thread Luke Plant
On Sat, 2011-02-19 at 12:00 +0100, Sayane wrote: > There's a problem with CSRF Protection and XHR requests. It works > perfectly if 'csrftoken' cookie has been set already. But what if it's > not? > Cookie with token will be set only, if META["CSRF_COOKIE_USED"] is > True [1]. It's set to True in f

Re: Adding new buttons like delete and change in the admin changelist_view

2011-02-19 Thread Jonas Obrist
It is indeed a wonderful and powerful thing, and luckily a thing that's already possible! Just edit the changelist_view template. For an example please have a look at https://github.com/joshourisman/django-tablib/blob/master/django_tablib/templates/tablib/change_list.html Jonas -- You receiv

Re: Django Run in Aptana

2011-02-19 Thread Karen Tracey
Please ask questions about using Django on the django-users list. The topic of this list is the development of Django itself. Karen -- 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@goog

Re: Bound formset.empty_form after posting formset

2011-02-19 Thread Hidde-Jan Jongsma
Hi Carl, I made a ticket and provided a patch + test. I have not yet checked the behavior in django.contrib.admin, but since the formclass is initialized with empty_permitted=True, the admin will *probably* not be affected, since it would deal with empty forms but without errors. This is the tick

Django Run in Aptana

2011-02-19 Thread Andreas Rudischhauser
Hello, i'm trying to get Django running in Aptana Studio. I've got PyDev installed and can create a new project. The point that's missing is the "run as". Does anybody know how to setup a run configuration. (Im running it on mac, if that's important to know). Or is there a better dev environme

Re: Bound formset.empty_form after posting formset

2011-02-19 Thread Hidde-Jan Jongsma
(sorry if this shows up twice) Hi Carl, I made a ticket and provided a patch + test. I have not yet checked the behavior in django.contrib.admin, but since the formclass is initialized with empty_permitted=True, the admin will *probably* not be affected, since it would deal with empty forms but w

A word about CSRF Protection and AJAX

2011-02-19 Thread Sayane
There's a problem with CSRF Protection and XHR requests. It works perfectly if 'csrftoken' cookie has been set already. But what if it's not? Cookie with token will be set only, if META["CSRF_COOKIE_USED"] is True [1]. It's set to True in function get_token() [2]. get_token() is called in CsrfRespo

Re: pb with search on website

2011-02-19 Thread Jacob Kaplan-Moss
On Fri, Feb 18, 2011 at 7:04 AM, Will Hardy wrote: > In case there's any confusion in the question, it appears as if adding > a period or braces to a word makes it impossible to be found, even > when the exact string exists in the documentation: > > * http://docs.djangoproject.com/search/?q=get&re