mango r272 - in branches/django: . mango



Author: ovitters
Date: Fri Jun 27 22:21:29 2008
New Revision: 272
URL: http://svn.gnome.org/viewvc/mango?rev=272&view=rev

Log:
	* mango/models.py (Foundationmembers): Set initial last_renewed_on to
	current date.


Modified:
   branches/django/   (props changed)
   branches/django/ChangeLog
   branches/django/mango/models.py

Modified: branches/django/mango/models.py
==============================================================================
--- branches/django/mango/models.py	(original)
+++ branches/django/mango/models.py	Fri Jun 27 22:21:29 2008
@@ -57,7 +57,7 @@
     comments = models.TextField(blank=True)
     userid = models.CharField(max_length=15, null=True, blank=True)
     first_added = models.DateField(auto_now_add=True)
-    last_renewed_on = models.DateField(null=True, blank=True)
+    last_renewed_on = models.DateField(auto_now_add=True, blank=True)
     last_update = models.DateTimeField(auto_now=True)
     resigned_on = models.DateField(null=True, blank=True)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]