Re: [Django] #10537: list_editable: ForeignKey widget points to wrong add_view

2009-07-23 Thread Django
#10537: list_editable: ForeignKey widget points to wrong add_view
---+
  Reporter:  bartTC| Owner:  nobody 
  
Status:  closed| Milestone:  1.1
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:  fixed |  Keywords:  list_editable, 
foreignkey
 Stage:  Ready for checkin | Has_patch:  0  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Comment (by kmtracey):

 Replying to [comment:5 JP]:
 Opened #11532 to report this as a comment on a closed ticket can easily be
 overlooked.

-- 
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] #10537: list_editable: ForeignKey widget points to wrong add_view

2009-07-23 Thread Django
#10537: list_editable: ForeignKey widget points to wrong add_view
---+
  Reporter:  bartTC| Owner:  nobody 
  
Status:  closed| Milestone:  1.1
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:  fixed |  Keywords:  list_editable, 
foreignkey
 Stage:  Ready for checkin | Has_patch:  0  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by JP):

  * has_patch:  1 => 0

Comment:

 This is happening again with 1.1 RC.. (is this related to the backward
 incompatible changes in [http://code.djangoproject.com/ticket/10061]?)
 Instead of the correct link "/admin/bar/spam/add" I get "/bar/spam/add".
 The link in edit view is still correct though..

 Here's my simple failing example:

 {{{
1 from django.db import models
2
3 class Spam(models.Model):
4 x = models.CharField(max_length=10)
5 y = models.IntegerField(null=True, blank=True)
6
7 def __unicode__(self):
8 return self.x
9
   10
   11 class Egg(models.Model):
   12 spam = models.ForeignKey('Spam')   # <-
   13 e = models.CharField(max_length=200)
   14
   15 def __unicode__(self):
   16 return self.e
 }}}


 {{{
1 from foo.bar.models import Spam, Egg
2 from django.contrib import admin
3
4
5 class EggAdmin(admin.ModelAdmin):
6 fields = ('spam', 'e',)
7 list_display = ('e', 'spam',)
8 list_editable = ('spam',)  # <-
9
   10 class SpamAdmin(admin.ModelAdmin):
   11 fields = ('x', 'y',)
   12 list_display = ('x', 'y',)
   13
   14 admin.site.register(Spam, SpamAdmin)
   15 admin.site.register(Egg, EggAdmin)

 }}}

-- 
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] #10537: list_editable: ForeignKey widget points to wrong add_view

2009-03-30 Thread Django
#10537: list_editable: ForeignKey widget points to wrong add_view
---+
  Reporter:  bartTC| Owner:  nobody 
  
Status:  new   | Milestone:  1.1
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  list_editable, 
foreignkey
 Stage:  Ready for checkin | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by jezdez):

  * stage:  Accepted => 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] #10537: list_editable: ForeignKey widget points to wrong add_view

2009-03-24 Thread Django
#10537: list_editable: ForeignKey widget points to wrong add_view
---+
  Reporter:  bartTC| Owner:  nobody 
  
Status:  new   | Milestone:  1.1
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  list_editable, 
foreignkey
 Stage:  Accepted  | Has_patch:  1  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by kratorius):

  * has_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] #10537: list_editable: ForeignKey widget points to wrong add_view

2009-03-18 Thread Django
#10537: list_editable: ForeignKey widget points to wrong add_view
---+
  Reporter:  bartTC| Owner:  nobody 
  
Status:  new   | Milestone:  1.1
  
 Component:  django.contrib.admin  |   Version:  SVN
  
Resolution:|  Keywords:  list_editable, 
foreignkey
 Stage:  Accepted  | Has_patch:  0  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by Alex):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * version:  1.0 => SVN
  * milestone:  => 1.1
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted

-- 
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
-~--~~~~--~~--~--~---