Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2014-10-04 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux raw_id_fields|  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-
Changes (by collinanderson):

 * keywords:  raw-id-fields nfa-someday design_ux => raw-id-fields nfa-
 someday design_ux raw_id_fields


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.25d43d03a12d26db10013b22faa9a2f4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2014-05-22 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-
Changes (by depaolim):

 * cc: depaolim@… (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.b5aa73f83fc9c90243a0687d404349cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-09-18 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by stanislas.guerra@…):

 But this does not works with inlines. Using {{{token_fields}}} into an
 {{{InlineModelAdmin}}} gives 404 in ajax call to render the FK unicode().



 For example, I have added in the test the following models:


 {{{
 class TicketDealer(models.Model):
 name = models.CharField(blank=False, max_length=20)
 website = models.URLField(blank=True)

 def __unicode__(self):
 return self.name

 class TokenFieldTicketDealerEvent(models.Model):
 """
 A model that has token fields in the admin inline.
 """
 dealer = models.ForeignKey(TicketDealer)
 event = models.ForeignKey(TokenFieldEvent)

 }}}

 And the admin:

 {{{
 class TokenFieldTicketDealerEventAdminInline(admin.StackedInline):
 model = models.TokenFieldTicketDealerEvent
 token_fields = ('dealer',)

 class TokenFieldEventAdmin(admin.ModelAdmin):
 token_fields = ['main_band', 'supporting_bands']
 inlines = (TokenFieldTicketDealerEventAdminInline,)
 }}}

 With the TestCase:

 {{{
 
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
 class
 AdminInlineTokenWidgetSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
 available_apps = ['admin_widgets'] +
 AdminSeleniumWebDriverTestCase.available_apps
 fixtures = ['admin-widgets-users.xml']
 urls = "admin_widgets.urls"
 webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'

 def setUp(self):
 band = models.Band.objects.create(id=42, name='Bogey Blues')
 event = models.TokenFieldEvent.objects.create(id=11,
 main_band=band)
 dealer1 = models.TicketDealer.objects.create(id=12, name="Cheap
 Horse", website="www.ch.com")
 dealer2 = models.TicketDealer.objects.create(id=21, name="Decent
 Buy", website="www.db.com")
 models.TokenFieldTicketDealerEvent.objects.create(event=event,
 dealer=dealer1)
 super(AdminInlineTokenWidgetSeleniumFirefoxTests, self).setUp()

 def test_foreignkey(self):
 self.admin_login(username='super', password='secret',
 login_url='/')
 self.selenium.get(
 '%s%s' % (self.live_server_url,
 '/admin_widgets/tokenfieldevent/11/'))
 main_window = self.selenium.current_window_handle
 }}}

 It fires ''http://localhost:8081/admin_widgets/tokenfieldevent/objects-by-
 ids/tokenfieldticketdealerevent_set-0-dealer/12/'' -> 404

 I though it was just a bug in retrieving the field name into
 RelatedObjectLookups.js#updateTokenField() and had it patched like that:

 {{{
 diff --git
 a/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
 b/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
 index 5d8a19c..b333cfd 100644
 --- a/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
 +++ b/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
 @@ -108,7 +108,7 @@ var updateTokenField = function(field) {
  var $field = $(field);
  $field.hide();
  var container = $field.closest('div');
 -var field_name = $field.attr('name');
 +var field_name = getTokenFieldName(field);
  var pks = encodeURI($field.val());
  if (pks) {
  var objects_url = '../objects-by-ids/' + field_name + '/' + pks +
 '/'; // FIXME: hard-coded url
 @@ -128,6 +128,18 @@ var updateTokenField = function(field) {
  }
  };

 +var getTokenFieldName = function(field) {
 +// inline fields are prefixed.
 +var $ = django.jQuery;
 +var $field = $(field);
 +var rx_prefix = new RegExp("\\\w+-\\\d{1,2}-\(\\\w+\)");
 +var field_name = $field.attr('name');
 +if (field_name.match(rx_prefix)) {
 +field_name = field_name.match(rx_prefix)[1];
 +}
 +return field_name;
 +}
 +
  var removeToken = function(removeLink, field) {
  var $ = django.jQuery;
  var li = $(removeLink).parent();
 }}}



 Now It fires an Ajax call to
 ''http://localhost:8081/admin_widgets/tokenfieldevent/objects-by-
 ids/dealer/12/'' -> 404, ''dealer'' not in
 ''TokenFieldEventAdmin.token_fields''.
 This is because in RelatedOjectLookup.js (l.158) the ajax call is on
 

Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-09-18 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by stanislas.guerra@…):

 Replying to [comment:75 stanislas.guerra@…]:
 > [...] and the clean button for the ForeignKey.
 >

 My mistake, the clean button is there.


 > Anyway, looks good to me !

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.bd41023393eadd7c7555f48836c2b143%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-09-05 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by stanislas.guerra@…):

 For those interested :

 
https://github.com/Starou/django/compare/django:stable/1.5.x...ticket_7028_1_5_jphalip?expand=1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.915af4ac6c8afc81b4af89209c94d13b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-09-05 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by stanislas.guerra@…):

 @Julien : I have backported your patch to 1.5.x and tested it. The concern
 I have is about the lack of the hyperlink to *admin_change* (but maybe it
 is safer to not provide it rather provide it badly (i.e. permission
 check)) and the clean button for the ForeignKey.

 Anyway, looks good to me !

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.58314e4cb6d61e9dffdcbea86c1355e1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-08-06 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by julien):

 I've worked on a reasonably straightforward implementation (1) for this
 inspired from DrMeers' "cooked_ids" (2). I've also written a number of
 selenium tests. It has the advantage of preserving raw_id_fields if you
 still want them (for whatever reason), while allowing you to use the more
 user-friendly version (here called "token_fields").

 The main piece that's still missing from this implementation is the
 ability to work with non-integer primary keys.

 Any feedback?

 (1) https://bitbucket.org/drmeers/django-
 
generic/src/bd20113dce83a5ba6db30a96f0493b93e3aeea17/generic/admin/mixins/cooking.py
 (2)
 
https://github.com/jphalip/django/compare/django:04489c7dbf8f69de84ca272a0a1710e7b6067e9d...ticket-7028
 -token-fields

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.3d03aad8050821d62950559c772ffddd%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-06-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  closed
 Type:  Uncategorized|  Version:  master
Component:  contrib.admin|   Resolution:  fixed
 Severity:  Normal   | Triage Stage:
 Keywords:  raw-id-fields nfa-   |  Unreviewed
  someday design_ux  |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  1|UI/UX:  1
Easy pickings:  1|
-+-

Comment (by ogpcludi ):

 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.0eab7ab5cfaa968c88ea24a2460e2ff7%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-06-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  closed
 Type:  Uncategorized|  Version:  master
Component:  contrib.admin|   Resolution:  fixed
 Severity:  Normal   | Triage Stage:
 Keywords:  raw-id-fields nfa-   |  Unreviewed
  someday design_ux  |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  1|UI/UX:  1
Easy pickings:  1|
-+-

Comment (by ogpcludi ):

 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.1380021931e20eaecf866c78295bf628%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-06-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  closed
 Type:  Uncategorized|  Version:  master
Component:  contrib.admin|   Resolution:  fixed
 Severity:  Normal   | Triage Stage:
 Keywords:  raw-id-fields nfa-   |  Unreviewed
  someday design_ux  |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  1|UI/UX:  1
Easy pickings:  1|
-+-
Changes (by ogpcludi ):

 * status:  new => closed
 * type:  New feature => Uncategorized
 * resolution:   => fixed


Comment:

 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.f2a22911d06ee8a5e6abd6087a16425b%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-06-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  Uncategorized|  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:  raw-id-fields nfa-   |  Unreviewed
  someday design_ux  |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  1|UI/UX:  1
Easy pickings:  1|
-+-
Changes (by ogpcludi ):

 * needs_docs:  0 => 1
 * type:  New feature => Uncategorized
 * easy:  0 => 1
 * stage:  Accepted => Unreviewed


Comment:

 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.0563d984805741ff70e4cf8191eaad3a%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-05-28 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by Stanislas):

 Fixed `Clear' button malfunction in admin raw_id fields.

 Github branch : https://github.com/Starou/django/tree/ticket_7028_1_4

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.c3241373f045854e7326cad1a6e28653%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-04-03 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by Stan@…):

 Add patch against 1.4.5.

 Fix a bug contrib.admin.ManyToManyRawIdWidget#label_for_value(self, value,
 name) when value was empty.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-03-26 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by jacob):

 #10293 was a dup.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2013-03-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  master
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by anonymous):

 This patch looks great!

 What's the status of this patch? Is any work being done to include it in
 core?

 Thanks a lot!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-11-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  SVN
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-
Changes (by Twidi):

 * cc: Twidi (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-10-12 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  SVN
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by Stanislas ):

 ManyToMany raw_id_field: Maybe we could add a "Clear" button for each
 labeled object in order to javascriptly remove its Id in the input ?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-10-12 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  SVN
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-
Changes (by Stanislas ):

 * cc: stan@… (added)


Comment:

 Replying to [comment:64 julien]:
 > This looks really good! However, it really needs to support
 `ManyToManyFields` before it can be included in core. A list builder
 widget, as specified in `[1]`, could be a nice solution.
 >
 > `[1]` http://wiki.jqueryui.com/w/page/12137993/ListBuilder


 That's nice indeed but for the sake of consistency the same interface
 should also be ported to the ForeignKey's raw_id. This mean to completely
 rethink this patch.

 And what about the non-javascript users ?

 Merging #10293 looks more reasonable and simpler to me.

 But I like the idea of an auto-completion (and so my users) !

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-09-30 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  SVN
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-
Changes (by carlospalol):

 * cc: carlos.palol@… (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-09-29 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
 Reporter:  Marcob   |Owner:  nobody
    |   Status:  new
 Type:  New feature  |  Version:  SVN
Component:  contrib.admin|   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:  raw-id-fields nfa-   |  Needs documentation:  0
  someday design_ux  |  Patch needs improvement:  1
Has patch:  1|UI/UX:  1
  Needs tests:  1|
Easy pickings:  0|
-+-

Comment (by julien):

 See also #10293 re: ManyToMany raw_id_fields.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-09-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
  UI/UX:  1  |
-+-

Comment (by julien):

 This looks really good! However, it really needs to support
 `ManyToManyFields` before it can be included in core. A list builder
 widget, as specified in `[1]`, could be a nice solution.

 `[1]` http://wiki.jqueryui.com/w/page/12137993/ListBuilder

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-08-24 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
  UI/UX:  1  |
-+-

Comment (by Stan ):

 Replying to [comment:62 ramiro]:
 > Latest path is using !AdminSite's `root_path` that  doesn't exit anymore
 (see r16575). Also, I don't like it is reintroducing using
 `'../../..'`-style paths we are trying to move away from (see r16578,
 #15294)

 The latest patch is `root_path` and `../..` free.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-08-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
  UI/UX:  1  |
-+-

Comment (by ramiro):

 Latest path is using !AdminSite's `root_path` that  doesn't exit anymore
 (see r16575). Also, I don't like it is reintroducing using
 `'../../..'`-style paths we are trying to move away from (see r16578,
 #15294)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-08-08 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
  UI/UX:  1  |
-+-

Comment (by Stanislas Guerra ):

 Patch against trunk added.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-06-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
-+-
Changes (by lukeplant):

 * easy:  1 => 0


Comment:

 Hmm, that message is confusing lots of people. (it was technically 'null'
 before, which counts as 'false', which was correct, but then your update
 forced it to be explicitly 'false' i.e. unset, which was still correct.
 Until you toggled it :-)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-06-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  1
Patch needs improvement:  1  |
-+-
Changes (by davenaff):

 * easy:  0 => 1


Comment:

 Hmm, just meant to add me to cc list - didn't mean to change easy
 pickings.  Setting easy pickings.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2011-06-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
-+-
   Reporter:  Marcob |  Owner:  nobody
    | Status:  new
   Type:  New|  Component:  contrib.admin
  feature|   Severity:  Normal
  Milestone: |   Keywords:  raw-id-fields nfa-
Version:  SVN|  someday design_ux
 Resolution: |  Has patch:  1
   Triage Stage:  Accepted   |Needs tests:  1
Needs documentation:  0  |  Easy pickings:  0
Patch needs improvement:  1  |
-+-
Changes (by davenaff):

 * cc: davenaff@… (added)
 * easy:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-10-04 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by EmilStenstrom):

 While you wait for this ticket to be resolved, I've added a snippet that
 shows the values for both ForeignKeys and ManyToManyFields, and links each
 value to its change page in the admin. If this is something that can be
 used in this patch, feed free to pick whatever you want from it:
 http://djangosnippets.org/snippets/2217/

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-05-20 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by mrts):

 `getAdminMediaPrefix()` is unneccessary in 1.2. See #11967 and [13002].
 Use `if (window.__admin_media_prefix__ != undefined) { ...` etc.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-04-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by mrts):

 My patch is complete, but doesn't touch ManyToManyFields. I can not drive
 this further though for various reasons, so someone else should step up
 and continue the work.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-03-30 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by carwyn):

 What's blocking progress on one or other of these patches? There seems to
 be a lot of good work here on a worthy improvement to the admin interface.

 In absence of accepted patches does it make sense to re-craft these
 patches as widgets that could be used with ModelAdmin.formfield_overrides?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-03-26 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by russellm):

 #13221 was submitted with an alternate patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-03-12 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by dschruth):

 I hate to do this, but the functionality is merely only close to what I
 need but not quite there yet.  I happen to like (or tolerate rather) the
 dropdown box for the ForeignKeyField (probably because I make extensive
 use of def __unicode__ to make my listed names more
 verbose/descriptive)...  and have no need for the pop-up functionality.

 Consequently, all I need would be just the linking functionality to the
 selected Foreign Object. I envision something similar to the way in which
 the ImageField and the FileField link to a URL of the file/image: with the
 link *just* *above* the "select" HTML form element.

 I've reopened this ticket's 'duplicate' here
 http://code.djangoproject.com/ticket/12085 for the first issue.

 Additionally: It seems like there could be a similarly nice way to link to
 the foreign key's class' change_list too.  Perhaps we could just turn the
 field's label into a simple link to the class' list table? This second
 idea should probably be opened up as a separate ticket though...

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-02-23 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone: 

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Changes (by ubernostrum):

  * milestone:  1.2 =>

Comment:

 1.2 is feature-frozen, moving this feature request off the milestone.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-02-10 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone:  1.2

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Comment (by marcob):

 Mart, one word: GREAT!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-02-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 

Status:  new   | Milestone:  1.2

 Component:  django.contrib.admin  |   Version:  SVN

Resolution:|  Keywords:  
raw-id-fields nfa-someday design_ux
 Stage:  Accepted  | Has_patch:  1  

Needs_docs:  0 |   Needs_tests:  1  

Needs_better_patch:  1 |  
---+
Changes (by russellm):

  * keywords:  raw-id-fields nfa-someday => raw-id-fields nfa-someday
   design_ux

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-27 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 A core committer should do this I think. I will presently leave the patch
 as-is unless instructed otherwise.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-27 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 mrts, I do agree, but who is in charge to close and link those tickets to
 this one?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-27 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 A holistic approach would also take care of #11700.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-27 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 While working at this, it would make sense also to fix #5704, #7955 and
 perhaps #11683, #11684 as well.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Changes (by mrts):

  * needs_better_patch:  0 => 1

Comment:

 Note that I haven't even thought about !ManyToManyFields, but the patch
 has to handle them as well eventually. Will deal with it later, left a
 failing test as a remainder.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 I've added selection clearing via javascript with the red x button. The ID
 input field (and the confusing numeric ID) can be entirely hidden from
 end-users with CSS `display: none` now with no loss of functionality.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Changes (by mrts):

  * needs_better_patch:  1 => 0

Comment:

 The linked label should properly update now both when objects are added
 and changed via the popup, so all the required functionality should be
 there.

 Marco and others who are interested in this, please test and report any
 problems you notice (e.g. I haven't tried in IE).

 I'll leave it into "more tests needed" state as of now -- the
 `options.py:response_change():elif request.POST.has_key("_popup")` path
 needs testing as do quirky PKs and other corner cases.


 > Another minor glitch is that I have a table with a FK on a table of
 hierarchical codes that has a "self" FK. When I open the first popup
 window and I click on the inside label for
 > the "self" FK I don't get another popup but it opens in the same window.
 I'm not sure if it's better in this way or to open a new window but to
 obtain this behaviour it's enough
 > to name the window with the id of the object.


 I'd say handling this is not worth the effort. But you are most welcome to
 tinker with the case.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 Marco, good point, but here come some of my notes:

  1. the added block should be within the `} else if (elem.nodeName ==
 'INPUT') {` branch,
  1. as `win.location.href` already is a string, there is no need to cast
 it,
  1. we should not `split()` as theoretically it's not impossible that the
 path already contains an add, e.g. a contrived but not illegal
 '/add/admin/add/add/` (admin is mounted under `/add/`, there's an app
 labeled `add`), so I propose the following instead: `var chosenIdHref =
 win.location.href.replace(/\/add\/[^\/]*$/, '/' + newId + '/');` (that
 gets rid of the redundant `?_popup=1` as well),
  1. it makes sense to store the escaped copy of newRepr in the beginning
 and not escape it again.

 Thanks! I've updated the patch accordingly, re-merged master and will
 upload the resulting patch shortly.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-04 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 Nothing is due and you did most of the job on this patch :-)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2010-01-04 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 Marco, I've been ill and away, sorry for that. Will get back to this soon.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-12-06 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 Mrts, I think that we need also to update the label during an add-another:
 {{{
 diff -r be3cfbfcb85b
 lib/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
 --- a/lib/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
 Sat Dec 05 03:10:26 2009 +0100
 +++ b/lib/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
 Sun Dec 06 06:00:58 2009 +0100
 @@ -100,6 +100,13 @@
  SelectBox.add_to_cache(toId, o);
  SelectBox.redisplay(toId);
  }
 +var nameElem = document.getElementById("view_lookup_" + name);
 +if (nameElem) {
 +  var chosedIdHref = String(win.location.href).split(/\/add\//)[0] +
 '/' + newId + '/';
 +  nameElem.innerHTML = '' +
 +html_escape(newRepr) + '';
 +}
  win.close();
  }
 }}}

 Do you agree?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 :)

 Your nitpicking is most welcome, thanks!

 I plan continue taking care of the patch and I'll think about the popup
 cascading case as well as implement the things mentioned in the TODO
 comments. However, it is unclear when I have time for it. But I'd say the
 patch is usable as-is for those who need it.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 fanny = funny :) (Italian common error)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 mtrs, after looking at your patch I remembered this comment of mine:
 http://code.djangoproject.com/ticket/6903#comment:30

 Fanny, isn't it? I would like to say "great minds think alike" but perhaps
 is more proper "great asses fart alike" :-)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 Tested and it works! Both in FF than IE. Thanks!

 I was to write about update the label if changed when I saw you already
 write it in the "it needs" part of you comment.
 Just to know, are you willing to do it or you left it as an exercise for
 the reader? :)

 Another minor glitch is that I have a table with a FK on a table of
 hierarchical codes that has a "self" FK. When I open the first popup
 window and I click on the inside label for the "self" FK I don't get
 another popup but it opens in the same window. I'm not sure if it's better
 in this way or to open a new window but to obtain this behaviour it's
 enough to name the window with the id of the object.

 Btw this is nitpicking. You did a wonderful job.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Changes (by mrts):

  * needs_better_patch:  0 => 1
  * needs_tests:  0 => 1

Comment:

 Although the patch is quite usable, it needs
  * more view tests, specifically for the template tag and
 `options.py/ModelAdmin.response_change` when the next item is implemented
  * when the object's label changes via the popup, it makes sense to update
 it with !JavaScript in the DOM as well (similarly to
 `dismissAddAnotherPopup`), there are TODOs in the patch for the places
 that need updating.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-16 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 Marco, please review and test when you have time (checking with that same
 failing case in IE is much appreciated). Using {{{`}}} was both a hack and
 a bad idea, thanks for rectifying this (my only excuse, albeit a feeble
 one, is that it doesn't matter in my language, {{{`}}} and {{{'}}} are
 treated more or less equivalently).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-15 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by marcob):

 Replying to [comment:26 mrts]:
 > Fixed with {{{.replace("'", "`")}}} as was originally intended (but
 incorrectly implemented). I wonder if this is causes problems for Romanic
 languages that use {{{`}}} for accents -- Marco, is it OK for Italian?
 I.e. you would see ''Servizi connessi all{{{`}}}Agricoltura'' instead of
 ''Servizi connessi all'Agricoltura'' in the object link. Also, I wonder if
 English speakers would be annoyed by seeing ''Aesop{{{`}}}s fables''
 instead of ''Aesop's fables''.


 Unfortunately this isn't correct in italian. We use ' (apostrophe) between
 truncated words ("all'agricoltura") and we sometimes use {{{`}}} (back-
 prime? back-apex? how is it called?) with accented word ("menu`" instead
 of "menù").

 Would it be possible to fix it with {{{.replace("'", r"\'")}}} ?

 I tried this manually and the error vanished:
 {{{
 onclick="opener.dismissRelatedLookupPopup(window, 'A014', 'Servizi
 connessi all\'Agricoltura'); return false;"
 }}}


 > Will upload the patch tomorrow.


 I'll surely try it. Thanks.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-15 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 Fixed with {{{.replace("'", "`")}}} as was originally intended (but
 incorrectly implemented). I wonder if this is causes problems for Romanic
 languages that use {{{`}}} for accents -- Marco, is it OK for Italian?
 I.e. you would see ''Servizi connessi all{{{`}}}Agricoltura'' instead of
 ''Servizi connessi all'Agricoltura'' in the object link. Also, I wonder if
 English speakers would be annoyed by seeing ''Aesop{{{`}}}s fables''
 instead of ''Aesop's fables''.

 Other fixes:
  * more than 7 words are now truncated instead of the somewhat arbitrary
 14 in the original patch. Even retaining 7 may be a few too many,
  * proper XSS protection with `nameElem.innerHTML = ...
 html_escape(chosenName) ...;`, also get rid of the ugliness mentioned a
 few comments above
  * add `?_popup=1` to the related object popup and dismiss on save
  * consistent label usage.

 Will upload the patch tomorrow.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-15 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by marcob):

 mrts I followed your link and I discovered the "glich". Thank you!

 I've data in my database that contain a ' so this line in the popup window
 link raises a javascript error:
 {{{
 onclick="opener.dismissRelatedLookupPopup(window, 'A014', 'Servizi
 connessi allAgricoltura'); return false;"
 }}}

 The problem is that 

 With IE it's enough to open the popup window to get the error, with
 Firefox you need to click that line. For this I never got it with Firefox,
 at least once IE helped me :-).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-15 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 There are instructions for !JavaScript debugging in IE at
 http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx .

 I'll get to it eventually myself as well, not sure when though.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-14 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by marcob):

 mrts, I tried it with IE7 but I got dreaded "Error on page". Can't find
 where is the problem (I tried for at least on hour, sorry :-( IE is a pita
 to debug). Hope there is someone smarter than me.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-14 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 I'd be much obliged if someone cared to test the
 ticket7028-with_popup.patch in IE.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 I'd say my work is completed. Any comments welcome.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by mrts):

  * needs_better_patch:  1 => 0
  * version:  1.0 => SVN
  * needs_tests:  1 => 0

Comment:

 Tried my best to create a clean representation of the intent:
 {{{
 yield mark_safe(u'<%s%s>%s' %
 (table_tag, row_class, url,
 (cl.is_popup
 and ' onclick='
 '"opener.dismissRelatedLookupPopup(window, %s,
 '
 "'%s\'); return false;"' %
 (result_id, result_url, result_name)
 or ''),
 conditional_escape(result_repr), table_tag))
 }}}

 Commit:
 http://github.com/mrts/django/commit/e95f27ad4b74eef3a9d4e9553e5cfb58f159c10a

 Tests pass, also tested to be working in a real site.

 Patch upcoming.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Comment (by mrts):

 Tests pass, looks more or less OK to me.

 One thing that needs to be resolved is whether the object link should open
 in a pop-up. That would be more consistent, but would make the
 corresponding code horrible -- imagine embedding yet another `showPopup`
 into the `\'`-quoted part:
 {{{
 ' onclick="opener.dismissRelatedLookupPopup(window, %s, \'%s\'); return false;"'
 }}}

 I'll probably implement this nevertheless.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-13 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Changes (by guettli):

 * cc: h...@tbz-pariv.de (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  1 |  
---+
Changes (by mrts):

  * needs_better_patch:  0 => 1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-09 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 I've implemented this and also integrated #7923 in my !GitHub branch:
 http://github.com/mrts/django/commits/ticket7028

 Admin widget tests pass, but there's a regression in admin views tests --
 a spurious `False` appears into the output, but I haven't yet got time to
 figure out from where (probably a trivial problem somewhere).

 Attaching a patch.

 IMHO #7923 can be closed as duplicate.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-10-05 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone:  1.2
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Changes (by russellm):

  * milestone:  => 1.2

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-09-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Comment (by kmtracey):

 Replying to [comment:13 paul.h...@gmail.com]:
 > I just noticed that the empty string quotes after nome= and name= did
 not get through to the last comment that I posted.

 They were interpreted as Wiki formatting characters which turned on, and
 then off, italics.  To avoid this you should mark code blocks as
 preformatted text:
 http://code.djangoproject.com/wiki/WikiFormatting#Preformattedtext.  Also
 checking how the comment will look via Preview before hitting Submit is
 always a good idea.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-09-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Comment (by paul.h...@gmail.com):

 I just noticed that the empty string quotes after nome= and name= did not
 get through to the last comment that I posted.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-09-07 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Comment (by paul.h...@gmail.com):

 Line 182 of the patch to django/contrib/admin/widgets.py currently reads:
 def label_for_value(self, value, nome=''):
 but this is probably meant be:
 def label_for_value(self, value, name=''):
 This would not cause any tests to fail since the arg is not (currently)
 used.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-09-06 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  1  
  
Needs_better_patch:  0 |  
---+
Changes (by kmtracey):

  * needs_tests:  0 => 1
  * stage:  Ready for checkin => Accepted

Comment:

 The last comment makes this look not quite ready for checkin.  Also there
 are no tests in the latest patch, not even the earlier posted test changes
 required to fix test breakage, so it isn't clear what exactly is supposed
 to be applied.  This ticket needs a consolidated patch with tests for the
 new function before it can be called ready for checkin.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2009-01-18 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob   | Owner:  nobody 
  
Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Ready for checkin | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by anonymous):

 There is an error, this line in admin_list.py:
   result_name = repr(escape(force_unicode(result_id).replace("'",
 '')))[1:]
 Should be:
   result_name = repr(escape(force_unicode(result).replace("'",
 '')))[1:]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2008-11-05 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob <[EMAIL PROTECTED]>  | Owner:  nobody   

Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  1.0
  
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Ready for checkin | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by [EMAIL PROTECTED]):

  * version:  newforms-admin => 1.0

Comment:

 Patch for 1.0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #7028: Better raw_id_fields feedback in newform-admins branch

2008-10-29 Thread Django
#7028: Better raw_id_fields feedback in newform-admins branch
---+
  Reporter:  Marcob <[EMAIL PROTECTED]>  | Owner:  nobody   

Status:  new   | Milestone: 
  
 Component:  django.contrib.admin  |   Version:  
newforms-admin   
Resolution:|  Keywords:  
raw-id-fields nfa-someday
 Stage:  Ready for checkin | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by kmtracey):

 #4134 was a dup, also with a patch.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---