On 28-8-2012 21:20, Axel Rau wrote:
> Next time, I open this page, it renders all 3 (aliases, mailboxes and
> remarks) fildsets twice. That means it does not collapse at all. The
> number of repetitions of the 3 fieldsets increases each time I
> display that form.
Right, I forgot the 'untested'
Am 28.08.2012 um 15:35 schrieb Melvyn Sopacua:
Another question: How can I expand the right fieldset dependent of
current content of my choices field (as loaded from db) while
rendering the change page initially?
>>>
>>> Look in django/contrib/admin/options.py for
On 28-8-2012 14:30, Axel Rau wrote:
>
> Am 28.08.2012 um 00:13 schrieb Melvyn Sopacua:
>
>>>
>>> Another question: How can I expand the right fieldset dependent of
>>> current content of my choices field (as loaded from db) while
>>> rendering the change page initially?
>>
>> Look in
Am 28.08.2012 um 00:13 schrieb Melvyn Sopacua:
>>
>> Another question: How can I expand the right fieldset dependent of
>> current content of my choices field (as loaded from db) while
>> rendering the change page initially?
>
> Look in django/contrib/admin/options.py for get_fieldsets(). Also
On 27-8-2012 18:31, Axel Rau wrote:
> Another question: How can I expand the right fieldset dependent of
> current content of my choices field (as loaded from db) while
> rendering the change page initially?
Look in django/contrib/admin/options.py for get_fieldsets(). Also look
at this bugreport
Am 27.08.2012 um 17:22 schrieb Dennis Lee Bieber:
> If Javascript (and by extension, AJAX) is not a viable option, it
> would seem that you will be stuck with having the first choice made
> trigger a form submittal so that the server can then populate the second
> part and send it back to
On Mon, Aug 27, 2012 at 10:51 AM, Axel Rau wrote:
>
> Am 27.08.2012 um 15:04 schrieb Nicolas Emiliani:
>
> >
> > Through JS, you need to implement a script that binds to the change event
> > and then changes the collapse css call for the specific div. You may want
> > to look
Am 27.08.2012 um 15:04 schrieb Nicolas Emiliani:
>
> Through JS, you need to implement a script that binds to the change event
> and then changes the collapse css call for the specific div. You may want
> to look
> at jQuery, although this is out of scope of the list.
>
> Once you have your
On Mon, Aug 27, 2012 at 6:36 AM, Axel Rau wrote:
> To clarify:
> --- from admin.py:
> class MailboxAdmin(admin.ModelAdmin):
> list_display = ('localpart', 'localdomainfk', 'type',
> 'aliastargetaddresses', 'created', 'updated')
> fieldsets = (
>
To clarify:
--- from admin.py:
class MailboxAdmin(admin.ModelAdmin):
list_display = ('localpart', 'localdomainfk', 'type',
'aliastargetaddresses', 'created', 'updated')
fieldsets = (
(None, {
'fields': (('localpart', 'localdomainfk'),
On Sun, Aug 26, 2012 at 5:03 PM, Axel Rau wrote:
> In my admin site, I have a fieldset which depends on a choice.
> I would like to control expansion of the related fieldset by the choice
> instead of the standard widgets.
> How can I do this?
>
I don't understand clearly
In my admin site, I have a fieldset which depends on a choice.
I would like to control expansion of the related fieldset by the choice instead
of the standard widgets.
How can I do this?
Axel
---
PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius
--
You received this message
12 matches
Mail list logo