Re: Date-based generic view not working

2009-08-11 Thread Thomas Jaggi
It was in fact the timezone. A few hours later it magically worked. ;) Thanks for your help! --~--~-~--~~~---~--~~ 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@goog

Re: Date-based generic view not working

2009-08-07 Thread Malcolm Tredinnick
On Fri, 2009-08-07 at 13:36 -0700, Thomas Jaggi wrote: > Well, after setting 'allow_future' to true everything works fine. > Since the entries were created today I don't really get this. I'm > using the 'pub_date' as 'date_field' and it's definitely NOT in the > future... Did you set the timezone

Re: Date-based generic view not working

2009-08-07 Thread Thomas Jaggi
Well, after setting 'allow_future' to true everything works fine. Since the entries were created today I don't really get this. I'm using the 'pub_date' as 'date_field' and it's definitely NOT in the future... --~--~-~--~~~---~--~~ You received this message because

Date-based generic view not working

2009-08-07 Thread Thomas Jaggi
I'm having some problems with a date-based view (using Django 1.1): Not working (no entries shown): info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } urlpatterns = patterns('django.views.generic.date_based', (r'^$','ar

Re: Date based generic view

2006-11-14 Thread Jean-Luc
Jean-Luc a écrit : > Thank you for your help > > unfornunately no > date_releve is always latest than date_operation or none > > I don't understand what appends > > jlT Hi all I check the code in root/django/trunk/django/views/generic/date_based.py 124 # Calculate first and last day of

Re: Date based generic view

2006-11-13 Thread Jean-Luc
Thank you for your help unfornunately no date_releve is always latest than date_operation or none I don't understand what appends jlT --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Date based generic view

2006-11-13 Thread Jay Parlar
On 11/13/06, Jean-Luc <[EMAIL PROTECTED]> wrote: > > Hi Django folks > > i have this model > > class Operations(models.Model): > id = models.IntegerField(primary_key=True) > date_operation = models.DateField() > mode_paiement = models.TextField() > no_cheque = model

Date based generic view

2006-11-13 Thread Jean-Luc
Hi Django folks i have this model class Operations(models.Model): id = models.IntegerField(primary_key=True) date_operation = models.DateField() mode_paiement = models.TextField() no_cheque = models.IntegerField() description = models.TextField() m

Date-Based Generic View Oddities

2006-07-15 Thread Tyson Tate
I've been having some very strange issues with the django.views.generic.date_based views and was wondering if anyone had some insight as to what the problem may be. I'm using the latest SVN on MacOS X 10.4.7 with MySQL 5.0.22 and Python 2.4.3. I've built a simple date-based app that works f