>
> Are you sure you don't get a thread safety issue ?
> Do you have your own template tags for those forms ?
>
> Regards,
> Xavier.
>
> Le 20 sept. 2010 à 18:42, intrepidweb a écrit :
>
>
>
> > Hi all,
>
> > Last week I ported a site that
Hi all,
Last week I ported a site that gets 50k+ pageviews/day from a PHP/
mySQL stack to Django/Postgresql. It has gone mostly smoothly, all
things considered. However, I have encountered a VERY troubling bug
involving the forms module, and I can't figure it out.
The form in question allows user
Hi there,
I am having a problem using the OpenLayers mapping widget for a GIS
point field.
I have a model called Locality that has a point field called
"coordinates." I set the value of that field using the following
format: POINT(LAT, LNG).
For example, for Atlanta, GA, the value of the coordi
Hi there,
I have a model called Locality that has a coordinates field. When I
view the admin change form for the model, the mapping widget appears,
but the actual map is grayed out.
For example, for Atlanta, GA, the coordinates are 33.69132,
-84.40137. When the OpenLayers map widget is rendered
Hi there,
I have a model called Locality that has a coordinates field. When I
view the admin change form for the model, the mapping widget appears,
but the actual map is grayed out.
For example, for Atlanta, GA, the coordinates are 33.69132,
-84.40137. When the OpenLayers map widget is rendered
Hi there,
I would like to chain a few custom filter methods like so:
>>> Model.custom_manager.custom_filter1().custom_filter2()
The docs tell us how to override a Manager's base QuerySet by
overriding the Manager.get_query_set() method:
*
http://docs.djangoproject.com/en/dev/topics/db/manager
Hi there,
I would like to chain a few different custom filter methods like so:
Model.custom_manager.custom_filter1().custom_filter2()
The docs tell us how to override a Manager's base QuerySet by
overriding the Manager.get_query_set() method:
http://docs.djangoproject.com/en/dev/topics/db/mana
FYI, I answered my own question. It's pretty simple, actually. If you
want process_view() to override the view_func() that was passed in,
simply return new_view_func(). Similarly, if you want to override the
view_args, just return view_func(view_args). Duh.
On Sep 16, 1:37 pm, intrep
Hi there,
I'm working on a custom middleware class for the first time. My goal
is to write a process_view function that modifies the view_func and/or
view_args that were passed in.
The documentation states that process_view can either return None or
an HttpResponse. But is there a way to modify
9 matches
Mail list logo