Adrian Holovaty wrote:
> On 10/22/05, stava <[EMAIL PROTECTED]> wrote:
> > Do you have a similar trick for the object list view?
>
> Sure! To view the automatically-generated template for the object list
> view, find the line "t =
> loader.get_template_from_string(''.join(raw_template))" (line 492
Adrian Holovaty wrote:
> On 10/22/05, stava <[EMAIL PROTECTED]> wrote:
> > Do you have a similar trick for the object list view?
>
> Sure! To view the automatically-generated template for the object list
> view, find the line "t =
> loader.get_template_from_string(''.join(raw_template))" (line 492
2005/10/23, Jeffrey E. Forcier <[EMAIL PROTECTED]>:
[snip]
> So, I'm curious what the rest of you would do in this situation. Is it
> better to keep things 'logically' organized, at the possible expense of
> ease-of-coding (e.g. the ability to use generic views) and possible
> overcrowding of temp
Awww crap - Adrian is right, I am smoking crack. I ran into the same
problem when playing with the django models in the python shell after
adding a new foreign key relationship. I changed the import statement
and reloaded the shell and the problem went away. In retrospect it is
now obvious
Hi all,
Can someone give me directions to render fields of type timestamp in
manipulators?
Preferably rendered using the nice calendar control a'la in the django
admin.
Thanks,
Will
Hi,
This is a simplified example about what I want to do. There are
restaurants, they have categories (e.g. pizzeria, vegetarian, etc.) and
a city the restaurant is in.
I have the following model (simplified):
class Category(meta.Model):
...
class City(meta.Model):
...
class R
On 10/23/05, SZEKERES Istvan <[EMAIL PROTECTED]> wrote:
> Now how can I select all the restaurants that belong to a category and are
> in a given city?
>
> To get the restaurants from a city I can do:
> r = restaurants.get_list (city__id__exact=n)
>
> To get the restaurants belonging to a specif
It is possible to use multiple cache backends with django?
For example, I might want to use memcached for page output caching, and
locmem:/// for custom low-level access to store long-lived large data
objects and custom DB connections within my application.
So, could I set memcached as my CACHE_
AFAIK, it is possible. Obviously you should use low-level API, which is
suitable for what you described.
"cmars232" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> It is possible to use multiple cache backends with django?
>
> For example, I might want to use memcached for page
9 matches
Mail list logo