On Tuesday, 21 June 2011 10:17:35 UTC+1, yomguy wrote: > > Hi ! > > MySQL and SQLite3 seem to have different behaviour here : > > when I have {% if collections %} in a template, where collections is a > queryset, > using SQlite3 gives this exception : > > "Caught DatabaseError while rendering: no such function: IF"... > > No pb with MySQL... Any idea please ? > > Thanks ;) > Yomguy > > What is `collections`? How are you getting it? How are you passing it to the template? -- DR.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0J6mmMe9bdkJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.