I think my filter problem should be a common one...

2009-06-10 Thread ssc
Hello, we publish stories on our website. Every story belongs to one or more classification (i.e. category), e.g. Travel, Food, Family (and of course the mighty important Hot Gossip ;-). A story can be published multiple times, possibly in different classifications. The relevant bits of the mode

getting the latest story is too slow

2009-06-11 Thread ssc
Hello, I would like to retrieve the most recently published story from the database. The criterion date is not a field, but sits in a separate model connected by a ManyToMany field. # this works fine latest_story = Story.order_by('-publish_dates__publish_date')[0] # this also works, seems sligh

frameworks based on Django ?

2009-10-21 Thread ssc
The future feature list of the project I am currently working on has a few items that sound to me like they'd been implemented before, but there doesn't seem to be direct support for them in Django itself. I seem to remember coming across a few frameworks built on Django and I was hoping to find

Re: frameworks based on Django ?

2009-10-21 Thread ssc
that's exactly the one i had come across and couldn't find again, thank you very much! :-) On 22 Okt., 00:47, Hector Garcia wrote: > http://pinaxproject.com/ > > Hector Garcia - Web developer, musicianhttp://nomadblue.com/ > > On Wed, Oct 21, 2009 at 1:35 PM, ssc

custom signal fails silently, depending on import path

2010-01-03 Thread ssc
I use a custom signal in my Django app in signals.py: my_project/ my_app/ signals.py views.py In views.py, if I do 'from signals import my_custom_signal' and send the signal, everything is fine. However, if I do 'from my_app.signals import my_custom_signal' and send the signal, it never