all of its validation,
> collecting the errors as it goes and then raise a ValidationError. Note
> that ValidationError can take a list of error messages in its
> constructor, so just collect all your errors into a list and pass them
> all at once to a single ValidationError raiser.
>
>
p through it in the template. I am not
> sure about syntax, check the documentation in tutorial.
>
>
> >
>
>
--
Mario Graziosi, mailto:[EMAIL PROTECTED]
FG&A srl (http://www.fgasoftware.com/)
[EMAIL PROTECTED]: The agile PBX (http://www.voiceatwork.eu/)
Tel: 02 9350-4780 i
I might accomplish this?
Thanks in advance for any help.
--
Mario Graziosi, mailto:[EMAIL PROTECTED]
FG&A srl (http://www.fgasoftware.com/)
[EMAIL PROTECTED]: The agile PBX (http://www.voiceatwork.eu/)
Tel: 02 9350-4780 interno 101, Fax: 02 9139-0172
--~--~-~--~~~---
Jorge,
thank you very much! Both for the detailed explanation and for the time
you spent answering. I'll surely follow your guidelines for the "clean"
solution.
Jorge Gajon wrote:
> On 12/9/06, Mario Graziosi <[EMAIL PROTECTED]> wrote:
>
>> Is it possible
Is it possible to restrict the list of "would be deleted" objects when
asking to delete a specific object using the admin interface?
I have several thousand records related to the object to be deleted. Is
is quite useless (and time consuming) to display the list of 3000+
records to ask for co
Mario,
>
> you probably need something like this:
>
> http://paste.e-scribe.com/2702/
>
> Though i wouldn't know how to apply it to the admin interface if that's
> what u want.
>
> Lorenzo
>
> On Nov 8, 4:43 pm, Mario Graziosi <[EMAIL PROTECTED]> w
nse('accounts/register_details.html', {'form':
> form,'user':request.user})
>
>
> but there seams that the selection fields dont get selected how do i
> solve this problem?
>
> Cheers
>
> Pat
>
>
> >
>
>
--
Please,
does anybody know how do I access the manipulator from withn the
template of the admin change_form?
Thanks.
--
Mario Graziosi, mailto:[EMAIL PROTECTED]
FG&A srl (http://www.fgasoftware.com/)
[EMAIL PROTECTED]: The agile PBX (http://www.voiceatwork.eu/)
Tel: 02 9350-4780 interno
directory.
>
> btw: I´m on the django IRC channel for additional help.
>
> patrick
>
> Am 05.11.2006 um 18:02 schrieb Mario Graziosi:
>
>
>> Thanks patrickk,
>>
>> but the point is that I wish to use the standard change_form most
>> of the
>
directory (django/contrib/
> admin/...) to your template_directory,
> e.g. to /templates/app_name/model_name/change_form.html
>
> patrick
>
> Am 05.11.2006 um 17:50 schrieb Mario Graziosi:
>
>
>> I wish to extend the standard admin "change_form": which is the
>
I wish to extend the standard admin "change_form": which is the best way
to do it?
The specific problem I need to solve is to find a workaround to a Django
bug (Ticket #2522). I need to keep form header, footer and submit
buttons and store my own stuff. I found this possible solution:
1. creat
Malcolm Tredinnick wrote:
> On Sat, 2006-10-07 at 12:06 +0200, Mario Graziosi wrote:
> [...]
>
>> Yes: I'm trying to render "notes" contents (and I get them right), but
>> I can't get right their relative title (i.e. notes.short_description).
>&
Malcolm Tredinnick wrote:
> On Sat, 2006-10-07 at 12:06 +0200, Mario Graziosi wrote:
> [...]
>
>> Yes: I'm trying to render "notes" contents (and I get them right), but
>> I can't get right their relative title (i.e. notes.short_description).
>&
I have several fields with additional notes in my model classes,
something similar to this:
def notes(self):
result = "some-string"
... formatting code ...
return result
notes.short_description = "My Notes"
However when the title in short_description gets format
other fields
contents, that doesn't seem a reasonable solution.
Is there any better djangonic way to cross-validate fields?
Thanks for any help in advance.
Mario.
--
Mario Graziosi, mailto:[EMAIL PROTECTED]
FG&A srl (http://www.fgasoftware.com/)
[EMAIL PROTECTED]: The agile
I get the help_text badly formatted when I set the radio_admin=True
together with "choices". Instead of getting the text aligned right
beyond the data entry field, it gets aligned immediatly on the raight
edge of the data entry field.
Am I doing something wrong or is this behavior the expected
Malcolm Tredinnick wrote:
> On Fri, 2006-08-11 at 10:50 +0200, Mario Graziosi wrote:
>
>> I have a tough problem representing my data model
>> with Django when using the standard Admin Interface.
>>
>> I need to represent the concept of a callgroup: a list
>>
quot;,
null=True, blank=True
)
--
Mario Graziosi, mailto:[EMAIL PROTECTED]
FG&A srl (http://www.fgasoftware.com/)
[EMAIL PROTECTED]: The agile PBX (http://www.voiceatwork.eu/)
Tel: 02 9350-4780 interno 101, Fax: 02 9350-0178
--~--~-~--~~~--
18 matches
Mail list logo