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
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
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
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
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
5 matches
Mail list logo