On Jan 16, 2014, at 8:02 AM, Russell Keith-Magee
wrote:
> Is there some reason that you can't use get_form() for this? It would seem to
> be exactly what you are looking for - a way to control the instantiation of
> forms, used by both add_view and change_view.
ModelAdmin.get_form() is a bit
Is there some reason that you can't use get_form() for this? It would seem
to be exactly what you are looking for - a way to control the instantiation
of forms, used by both add_view and change_view.
Yours,
Russ Magee %-)
On Thu, Jan 16, 2014 at 3:22 AM, tyrion-mx wrote:
> I'd like to be able t
On 15 janv. 2014, at 15:01, Ihor Kaharlichenko wrote:
> It's already 1.6 now, are there any news regarding this issue?
It’s fixed in 1.7. Search for “app-loading” in the archives of this list.
> From what I see the aren't any updates in signals docs.
Look again: https://github.com/django/djang
I'd like to be able to customize the parameters that gets passed to the
form used in all the views of the ModelAdmin. It seems that there is
currently no way to do it.
A very common scenario in which this could be useful is to provide a
default value for an author/user field of a model.
For exam
so, just to rephrase this, to help think about how the docs could be
improved. If I understand things correctly:
*with the default settings, the only circumstances in which a logging
message would end up in the console is outside of normal django request
handling, for example in a management comma
Hi.
> The bad news is that the patch has been languishing in need of review
> for a while. At this point, it almost certainly won't make 1.4; if it
> can get some attention, it would be a welcome addition to 1.5.
>
It's already 1.6 now, are there any news regarding this issue? From what I
see the
Use nginx? http://nginx.org/en/
Cheers,
AT
On Tue, Jan 14, 2014 at 6:18 PM, Rivo Laks wrote:
> Hm, indeed.
>
> Is there any better alternative or best practice for my usecase though?
> Basically I want a view that responds with contents of a static file and
> django.views.static.serve() does
Quick update. GIS support is nearly done, I just have two failing tests to
take care of (one to do with lookups setting srid, and another that is
producing the wrong value). I have a few validation checks to make inside
prepare, and then it's on to writing tests that make use of aggregates and