On Mon, Feb 27, 2006 at 01:42:23PM +0300, Ivan Sagalaev wrote:
> Putting values in columns is indeed presentation logic. But deciding 
> what exactly is "debit" or "credit" is a business one. Django templates 
> pretty much require you to supply this exact distinction without 
> "implementation details" (<0, >=0) even if these details are so small 
> and obvious.

I was thinking about this too... in my case I've got an event starting
date and ending date; in my views I want to be able to view based on
criteria such as: hasn't happened yet, hasn't happened yet but will happen
sometime this month / quarter / year, happened already this month/quarter/year.

That sounds like a view criteria to me...   What approach would you suggest
taking in a case like the one I've just described above?

Thanks.

-- 
Glenn Tenney

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to