7;, then hit
> 'save'. The second time I save, the order rows exist)
>
> Can anyone suggest a strategy whereby, when an Order gets saved, I can
> hook into some event AFTER the related Lines have been saved?
Hi Andy.
Did you find a workaround for this? Or can anyone suggest so
ike this:
> lookup_opts, params = self.lookup_opts, self.params
> there might be some additional ordering that can be accomplished with
> those variables.
>
> good luck, let me know if you figure it out
>
> On Jul 28, 6:07 am, Vinicius Massuchetto
> wrote:
>>
ield__in = fk_list).extra(
select = {'ordering': ordering},
order_by = ('ordering',)
)
return qs
What can be preventing this from behave as desired? Do I need to
override anything else?
Thanks in advance.
--
Vinicius Ma
.
Thanks.
--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email
2011/5/24 Karen Tracey :
> On Tue, May 24, 2011 at 6:51 AM, Vinicius Massuchetto
> wrote:
>>
>> Have anyone been able to implement an autocomplete input field in an
>> inline formset? If so, please provide some references.
>>
>> The main apps that do this in
Have anyone been able to implement an autocomplete input field in an
inline formset? If so, please provide some references.
The main apps that do this in a normal form can't render the same
behavior in an inline.
Many thanks.
--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br
--
Hi! Did you find any solution for this? I'm trying to achieve a
similar behavior for inlines, as posted in another recent thread.
Thanks.
--
Vinicius Massuchetto
On Jan 23, 8:07 am, Peter Phillips wrote:
> Thanks for the reply!
>
> I probably didn't explain the problem pr
`user` field as readonly.
In the last line, If I change the widget attribute to ['disabled'] =
True, it works fine, but I need a text entry, not a disabled form
field. I'm also aware that I'll need to override the `save_model()`
and `save_formsets()` for this to work prop
2011/3/17 Vinicius Massuchetto :
> Is it possible to generate different fieldsets for admin forms? I
> would like to retrieve different fieldsets for different users.
I managed doing this according to this procedure:
http://stackoverflow.com/questions/687829/django-overriding-get-f
Is it possible to generate different fieldsets for admin forms? I
would like to retrieve different fieldsets for different users.
Thanks
--
Vinicius Massuchetto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
2011/3/16 Daniel Roseman :
> On Wednesday, March 16, 2011 5:37:23 PM UTC, Vinicius Massuchetto wrote:
>>
>> I want to customize the DateTimeField returned in an admin list
>> column. I know there's the DATETIME_FORMAT setting, but I only want to
>> change in one
nguage.
What's the right way of doing that? Please note that I want to
preserve the sorting feature of this column.
Many thanks.
--
Vinicius Massuchetto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
2011/2/21 Vinicius Massuchetto :
> 2011/2/21 Daniel Roseman :
>> On Monday, February 21, 2011 5:47:42 PM UTC, Vinicius Massuchetto wrote:
>
>> You can't "convert" a list to queryset, as a queryset is - as the name
>> implies - a database query.
>
> I im
2011/2/21 Daniel Roseman :
> On Monday, February 21, 2011 5:47:42 PM UTC, Vinicius Massuchetto wrote:
> You can't "convert" a list to queryset, as a queryset is - as the name
> implies - a database query.
I imagined that. =/
> What you could do is get all the IDs
there, but it fails to a "database error" admin
screen if I return the list.
Is there something I can use to convert it?
Thanks.
--
Vinicius Massuchetto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
__
> max_length=None, min_length=None, *args, **kwargs)
> TypeError: __init__() got multiple values for keyword argument 'max_length'
>
> Do I miss anything? Any other tips?
I'm quite confused and stuck on this too.
As you, I want to override a model field by a djan
16 matches
Mail list logo