Re: child edit causes duplication with model inheritance
On Sat, May 10, 2008 at 12:28 AM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Fri, May 9, 2008 at 8:43 AM, Erwin Elling <[EMAIL PROTECTED]> > wrote: > >> >> On May 5, 1:47 pm, bobhaugen <[EMAIL PROTECTED]> wrote: >> > Thanks. If I read that last one correctly, queryset-factor was merged >> > into trunk on 4-26, andnewforms-adminmerged trunk on 4-28 (and >> > appears to do so regularly), so the answer to my question is "yes". >> >> That's the way I read it as well. Queryset refactoring branch has been >> merged into trunk. After that, newforms-admin branch has been merged >> with trunk. >> > > No, newforms-admin has not been merged to trunk. Rather, on 4/28, trunk > updates were merged to newforms-admin, meaning newforms-admin got the > queryset-refactor changes that had previously been merged to trunk. > Sorry, on closer reading you understood that. I just misread and thought you said newforms-admin had been merged to trunk. Karen > > Anyone with experience with newforms admin and queryset refactoring, >> yet? Does the admin in the newforms-admin branch indeed treat >> inherited models right? >> Looking for some people who have tried this out, before I dive into >> it... It sounds so promising! >> > > The ticket for the admin inheritance changes is: > > http://code.djangoproject.com/ticket/6755 > > It's open, so no, inheritance handling in the admin isn't there yet. > > Karen > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On Fri, May 9, 2008 at 8:43 AM, Erwin Elling <[EMAIL PROTECTED]> wrote: > > On May 5, 1:47 pm, bobhaugen <[EMAIL PROTECTED]> wrote: > > Thanks. If I read that last one correctly, queryset-factor was merged > > into trunk on 4-26, andnewforms-adminmerged trunk on 4-28 (and > > appears to do so regularly), so the answer to my question is "yes". > > That's the way I read it as well. Queryset refactoring branch has been > merged into trunk. After that, newforms-admin branch has been merged > with trunk. > No, newforms-admin has not been merged to trunk. Rather, on 4/28, trunk updates were merged to newforms-admin, meaning newforms-admin got the queryset-refactor changes that had previously been merged to trunk. Anyone with experience with newforms admin and queryset refactoring, > yet? Does the admin in the newforms-admin branch indeed treat > inherited models right? > Looking for some people who have tried this out, before I dive into > it... It sounds so promising! > The ticket for the admin inheritance changes is: http://code.djangoproject.com/ticket/6755 It's open, so no, inheritance handling in the admin isn't there yet. Karen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On May 5, 1:47 pm, bobhaugen <[EMAIL PROTECTED]> wrote: > Thanks. If I read that last one correctly, queryset-factor was merged > into trunk on 4-26, andnewforms-adminmerged trunk on 4-28 (and > appears to do so regularly), so the answer to my question is "yes". That's the way I read it as well. Queryset refactoring branch has been merged into trunk. After that, newforms-admin branch has been merged with trunk. Anyone with experience with newforms admin and queryset refactoring, yet? Does the admin in the newforms-admin branch indeed treat inherited models right? Looking for some people who have tried this out, before I dive into it... It sounds so promising! Cheers, Erwin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
Thanks! On May 4, 2008, at 4:37 AM, James Bennett wrote: > > On Sun, May 4, 2008 at 3:29 AM, bobhaugen <[EMAIL PROTECTED]> > wrote: >> Does that mean newforms-admin includes qs-ref? That is, newforms- >> admin includes all of the most current svn trunk? > > The ideal way to find out this sort of information is to watch the > development timeline: > > http://code.djangoproject.com/timeline > > And specifically the log of the newforms-admin branch: > > http://code.djangoproject.com/log/django/branches/newforms-admin > > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of > correct." > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On May 4, 3:37 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, May 4, 2008 at 3:29 AM, bobhaugen <[EMAIL PROTECTED]> wrote: > > Does that mean newforms-admin includes qs-ref? That is, newforms- > > admin includes all of the most current svn trunk? > > The ideal way to find out this sort of information is to watch the > development timeline: > > http://code.djangoproject.com/timeline > > And specifically the log of the newforms-admin branch: > > http://code.djangoproject.com/log/django/branches/newforms-admin Thanks. If I read that last one correctly, queryset-factor was merged into trunk on 4-26, and newforms-admin merged trunk on 4-28 (and appears to do so regularly), so the answer to my question is "yes". --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On Sun, May 4, 2008 at 3:29 AM, bobhaugen <[EMAIL PROTECTED]> wrote: > Does that mean newforms-admin includes qs-ref? That is, newforms- > admin includes all of the most current svn trunk? The ideal way to find out this sort of information is to watch the development timeline: http://code.djangoproject.com/timeline And specifically the log of the newforms-admin branch: http://code.djangoproject.com/log/django/branches/newforms-admin -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On May 4, 2:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > As a slight addendum to what James said, it will be implemented in the > newforms-admin branch, and will be available in trunk after the > merge(you can of course use the newforms-admin branch if you need > this). Does that mean newforms-admin includes qs-ref? That is, newforms- admin includes all of the most current svn trunk? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
As a slight addendum to what James said, it will be implemented in the newforms-admin branch, and will be available in trunk after the merge(you can of course use the newforms-admin branch if you need this). On May 4, 2:41 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, May 4, 2008 at 12:58 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > if you add an "A" object then edit it and hit save it duplicates > > itself. Does anyone else have this trouble with model inheritance? > > The admin does not currently support model inheritance. This is a > known and documented issue, and is being worked on. > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
Re: child edit causes duplication with model inheritance
On Sun, May 4, 2008 at 12:58 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > if you add an "A" object then edit it and hit save it duplicates > itself. Does anyone else have this trouble with model inheritance? The admin does not currently support model inheritance. This is a known and documented issue, and is being worked on. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---
child edit causes duplication with model inheritance
try: class Base(models.Model): name = CharField(max_length = 100) class Admin: pass class A(Base): desc = TextField() class Admin: pass if you add an "A" object then edit it and hit save it duplicates itself. Does anyone else have this trouble with model inheritance? thanks, alan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~--~~~~--~~--~--~---