i'm customizing the django admin with custom views
for a model i need to create a custom view which is a little
different frome the default changelist
we all know clicking on the records in the default changelist just to
open the object detail page , the django admin calls an url like this
I have a Parent model having some Child objects edited as an inline in
the change view of the Parent.
I want to write some data in a Parent's field which is a calculation
based on some other field of all its Child objects.
I think i have to intercept child data in the save_model or
save_formset
Hi,
I have a callable in the modeladmin for an object XX.
Now I want to add a tool button (or something clickable) for
filtering
the changelist displaying only the object having value less than
30.
How would you implement somthing like this?
Thanks a lot!
--
You received this message
Hi,
I have a callable in the modeladmin for an object XX.
Now I want to add a tool button (or something clickable) for filtering
the changelist displaying only the object having value less than
30.
How would you implement somthing like this?
Thanks a lot!
--
You received this message
Hi,
I have a callable "" which calculates a value for every object in
a model "XX".
I want to add a tool button on the changelist for XX that filters the
list showing only the objects having this value less than 30.
How would you implement such a stuff?
Thanks
--
You received this
unique attribute.
But I posted this thread hoping there could be some error and some
solution without the need to change the model.
I think this is what I'm gonna do.
On 26 Mar, 20:57, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Mar 26, 2009 at 7:06 AM, TeenSpirit83
> <
I can't find nothing similar on this group! Can you please help me?
I get this error trace in the django 1.0.2 admin when updating a char
primary key in a regex field.
Thank you in advance!
Environment:
Request Method: POST
Request URL: http://localhost/admin/webamf/azienda/04573030659/
Django
I'm developing a little webapp starting from the contrib.admin
at the moment i manage a class in the model with a modeladmin class
but i need to edit the entries as a tabular inline of another class.
if i write both the inline and the modeladmin classes in admin.py and
try to register them both,
Yes, I think we should isolate the condition to he interested field
without touching every other.
So could it be
if db_field == cuit
??
thanks ramiro ;)
On 20 Nov, 00:01, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> The condition in line 16 can (and in fact should) be made more
> specific to
no answers!
i think there's no solution :(
how can i create my validation rules for those fields?
On 18 Nov, 01:00, TeenSpirit83 <[EMAIL PROTECTED]> wrote:
> I'm writing an app with some italian zip and vat number fields and
> also a province select field
> can i force
I'm writing an app with some italian zip and vat number fields and
also a province select field
can i force the admin class to validate the fields like
class it.forms.ITVatNumberField
class it.forms.ITZipCodeField
class it.forms.ITProvinceSelect
??
>
> The L in Inline should not be capitalized. Is it in some doc you are
> working from?
>
> Karen
The docs are correct!
I'm so dumb, it is the first time I notice the L is not capitalized!
I was sure of the opposite!
Thanks a lot Karen!
--~--~-~--~~~---~--~~
You
I'm trying to upgrade my skills from django 096 to 1.0 so I started a
new app and tried to create an admin class for a class within its
model.
I got the error I specified in the subject. I paste down the
traceback .Can you help me?
Environment:
Request Method: GET
Request URL:
13 matches
Mail list logo