Re: no plus-sign to add related object in admin

2012-01-05 Thread K.C. Smith
I have written a small patch that will add this feature (i.e., the ability to register a model in the admin and stop it from showing up in the index). If your problem was the same as mine, then this can get the plus signs where you want them without changing your preferred admin view. See https:/

Re: no plus-sign to add related object in admin

2011-12-30 Thread K.C. Smith
Hi, Oleg. I've discovered the issue (for my case, anyway). It goes beyond the field definition. The issue is that the FK fields which have no plus sign also have no independent admin pages. Instead, they are administered underneath another object as inlines. I have code in "admin.py" that is a

Re: no plus-sign to add related object in admin

2011-12-30 Thread Oleg Korsak
Hi. Could you paste full field definition in your case? I have same problem and looks like I know when it doesn't have plus sign 2011/12/30 K.C. Smith : > Thanks for your input.  I think you're probably right about non- > editable objects.  Unfortunately, that's not it in this case. > > K.C. > > O

Re: no plus-sign to add related object in admin

2011-12-30 Thread K.C. Smith
Thanks for your input. I think you're probably right about non- editable objects. Unfortunately, that's not it in this case. K.C. On Dec 29, 4:07 pm, Furbee wrote: > Just taking a stab in the dark, are the ones without the + sign editable in > the Admin? If they are not editable, I would imagi

Re: no plus-sign to add related object in admin

2011-12-29 Thread Furbee
Just taking a stab in the dark, are the ones without the + sign editable in the Admin? If they are not editable, I would imagine Django would not show the + in the Admin. Furbee On Thu, Dec 29, 2011 at 12:58 PM, K.C. Smith wrote: > I've got a project where when I pull up the admin page to add a

no plus-sign to add related object in admin

2011-12-29 Thread K.C. Smith
I've got a project where when I pull up the admin page to add an object (an object that has several foreign keys), some of the FK fields show the little green plus-sign links to add a new related object for that field and other FK fields do not. In the past, I've seen the plus-sign link to add a n