Al 17/08/12 13:05, En/na Madhu ha escrit:
Yes, That's right. I tried to change the admin form, but the button is
not added.
the fuctionality Jani Tiainen said i want the same fuctionality, but the
now first problem is adding button in change form.
As Jani has pointed I think that a custom widge
Yes, That's right. I tried to change the admin form, but the button is not
added.
the fuctionality Jani Tiainen said i want the same fuctionality, but the
now first problem is adding button in change form.
--
You received this message because you are subscribed to the Google Groups
"Django use
17.8.2012 13:42, Madhu kirjoitti:
No. URL linking is not the problem. I have the problem to add the input
button in admin form.
There will be so many buttons in admin form like save, add, delete. I
want to add my own button, but in the middle of admin form not at the
submit line or upper part of
I'm sorry, I really have a hard time understanding what you need, but you
might want to try overriding the form template to add your button?
If so, try the change_form_template parameter.
Le 17 août 2012 12:42, "Madhu" a écrit :
> No. URL linking is not the problem. I have the problem to add the
No. URL linking is not the problem. I have the problem to add the input
button in admin form.
There will be so many buttons in admin form like save, add, delete. I want
to add my own button, but in the middle of admin form not at the submit
line or upper part of the admin form. That button shou
So you would want to have a link to the url that was entered?
Le 17 août 2012 12:15, "Madhu" a écrit :
> Ok. I will explain it in brief.
>
> I want the button like the image field having the Browse button with the
> Image field in admin side i want the same button but the functionality may
> be d
Ok. I will explain it in brief.
I want the button like the image field having the Browse button with the
Image field in admin side i want the same button but the functionality may
be different. Don't want that the browser button functionality but i want
the button along with the my URL characte
Then there must be something I don't understand in what you need, could you
describe a bit more?
Le 17 août 2012 12:02, "Madhu" a écrit :
>
> I try the row_id_fields, but its not helpful for me.
> I want the button will be display in admin form.
> Using row_id_fields its just the linking of forei
I try the row_id_fields, but its not helpful for me.
I want the button will be display in admin form.
Using row_id_fields its just the linking of foreign key i don't want that.
The button functionality will be later before that i want the button tag
will be display on admin form.
--
You receive
(again) did you try using raw_id_fields?
Le 17 août 2012 11:26, "Madhu" a écrit :
> Can you please tell me how to add the Buttom on admin form in django?
> I want to add the button beside the field.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users
Django Admin by default only provides Dropdown option for Foreign Keys.
On Fri, Aug 17, 2012 at 2:56 PM, Madhu wrote:
> Can you please tell me how to add the Buttom on admin form in django?
> I want to add the button beside the field.
>
> --
> You received this message because you are subscribed
Can you please tell me how to add the Buttom on admin form in django?
I want to add the button beside the field.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-use
I might be off, but I believe that they want to get a list of objects from
the database, a ForeignKey seems more appropriate here, or am I missing
something?
Le 17 août 2012 09:58, "Amyth Arora" a écrit :
> Change the ModelField to type "CharField" and you should have a input
> box in the admin.
Change the ModelField to type "CharField" and you should have a input
box in the admin.
On Fri, Aug 17, 2012 at 12:14 PM, Madhu wrote:
> Hello,
>
> I want to add the button along with field in admin form.
>
> ex. Field name "URL" with the "Choose Page" button.
> If admin clicks on "Choose Page"
It's raw_id_fields! (see the docs for more detail : ) )
On your modeladmin, set that to a list including the name (as string) of
your field, and you should have what you want.
Let me know if I misunderstood.
Le 17 août 2012 09:47, "Thomas Orozco" a écrit :
> Oh, yeah, sorry about that, it's an
Oh, yeah, sorry about that, it's an admin parameter that you must use,
can't recall the exact name, but it's something like id only.
Le 17 août 2012 09:41, "Madhu" a écrit :
> Thanks for the replay.
>
> Using foreign key it creates dropdown list, but i want the URL as the
> character field and "C
Thanks for the replay.
Using foreign key it creates dropdown list, but i want the URL as the
character field and "Choose Page" button which having the function which
retrieves the database query list.
On Friday, August 17, 2012 12:51:35 PM UTC+5:30, Thomas Orozco wrote:
>
> If you're using a F
If you're using a ForeignKey for this field, you'll get this behavior by
default in the Django admin.
Le 17 août 2012 08:45, "Madhu" a écrit :
> Hello,
>
> I want to add the button along with field in admin form.
>
> ex. Field name "URL" with the "Choose Page" button.
> If admin clicks on "Choose
Hello,
I want to add the button along with field in admin form.
ex. Field name "URL" with the "Choose Page" button.
If admin clicks on "Choose Page" button then some list from the database
table will be display and admin select any one from that list.
Can anybody help me to add the button in ad
19 matches
Mail list logo