Sorry I didn't see this thead earlier.
We wrote a proposal review system for PyCon2007. The source code is
under the Python License.
http://us.pycon.org/TX2007/PyConTech
https://svn.python.org/conference/django/trunk/
The goal is to write conference software for any conference.
I could use some
Hey Ross. :-)
On Mon, 2007-03-26 at 01:48 -0700, Ross Burton wrote:
> On Mar 25, 3:28 pm, "Ross Burton" <[EMAIL PROTECTED]> wrote:
> > > What is it you want to do with the ones they've voted on vs. haven't? If
> > > you're going to hide the ones they've already voted on, just write a
> > > query
On Mar 25, 3:28 pm, "Ross Burton" <[EMAIL PROTECTED]> wrote:
> > What is it you want to do with the ones they've voted on vs. haven't? If
> > you're going to hide the ones they've already voted on, just write a
> > query in the view method that only returns those and pass that to the
> > context.
(re-sending, apologies if this hits the list twice)
On Mar 24, 5:27 pm, "Todd O'Bryan" <[EMAIL PROTECTED]> wrote:
> What is it you want to do with the ones they've voted on vs. haven't? If
> you're going to hide the ones they've already voted on, just write a
> query in the view method that only
On 3/24/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> Not related to your question, but this is called 'template' in Django.
> 'View' means a different thing (a controller).
Well, Django doesn't really have anything that strictly matches the
"controller" aspect; even Martin Fowler in his writeup
What is it you want to do with the ones they've voted on vs. haven't? If
you're going to hide the ones they've already voted on, just write a
query in the view method that only returns those and pass that to the
context. (Note: the view method, not the template. See Ivan's response.)
If they have
Ross Burton wrote:
> then in the view:
>
> {% for paper in object_list|dictsort:"title" %}
> {% if paper.has_voted( TODO ) %}
>
Not related to your question, but this is called 'template' in Django.
'View' means a different thing (a controller).
> I then discovered that you can't pass a
7 matches
Mail list logo