From ba7d9ecbfa062a5c9438fecb08b7ab4aad5044be Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 10 Sep 2011 11:19:23 +0200 Subject: updated requirements. diff --git a/requirements.txt b/requirements.txt index f22e9ab..2efbd44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -Django==1.2.5 +Django==1.2.6 MySQL-python==1.2.3 PIL==1.1.7 -PyYAML==3.09 +PyYAML==3.10 django-tinymce==1.5.1a2 python-dateutil==1.5 -- cgit v0.10.2 From 9f89448279c851ede5c8684a53d3d5ac573d2af9 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 10 Sep 2011 11:20:02 +0200 Subject: fixed save method for Programslot. diff --git a/program/models.py b/program/models.py index ef3ee0c..89bf8f8 100644 --- a/program/models.py +++ b/program/models.py @@ -182,9 +182,9 @@ class ProgramSlot(models.Model): return u'%s, %s, %s - %s' % (weekday, self.rrule, tstart, tend) def save(self, *args, **kwargs): - if not self.pk: - super(ProgramSlot, self).save(*args, **kwargs) + super(ProgramSlot, self).save(*args, **kwargs) + if not self.pk: if self.rrule.freq == 0: byweekday_start = None byweekday_end = None -- cgit v0.10.2 From 8a87cf0a86dbc645afd8a4415526add2c164615f Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sun, 11 Sep 2011 15:02:42 +0200 Subject: updated requirements. diff --git a/requirements.txt b/requirements.txt index 2efbd44..6fd9477 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Django==1.2.6 +Django==1.2.7 MySQL-python==1.2.3 PIL==1.1.7 PyYAML==3.10 -- cgit v0.10.2