[geany/www.geany.org] ea338e: Add release_date to LatestVersion model

Enrico Tröger git-noreply at xxxxx
Tue Oct 29 21:49:01 UTC 2013


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Wed, 05 Jun 2013 17:12:47 UTC
Commit:      ea338ea0bb3e47a123dd272ea486017a5d68a29b
             https://github.com/geany/www.geany.org/commit/ea338ea0bb3e47a123dd272ea486017a5d68a29b

Log Message:
-----------
Add release_date to LatestVersion model


Modified Paths:
--------------
    latest_version/fixtures/first_version.json
    latest_version/models.py

Modified: latest_version/fixtures/first_version.json
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -3,10 +3,10 @@
     "model": "latest_version.latestversion",
     "pk": 1,
     "fields": {
-      "version": "1.23",
-      "github_link": "/commits/1.23.0"
+      "version": "1.23.1",
+      "github_link": "/commits/1.23.1",
+      "release_date": "2013-05-19T13:59:00Z"
     }
   }
 ]
 
-


Modified: latest_version/models.py
6 files changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -3,12 +3,12 @@
 # it under the terms of the GNU Affero General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU Affero General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -20,6 +20,8 @@ class LatestVersion(models.Model):
 
     version = models.CharField(max_length=50, verbose_name=u'Latest Geany version')
     github_link = models.CharField(max_length=255, verbose_name=u'Link to the Commits page on Github (everything after https://github.com/geany/geany/)')
+    release_date = models.DateTimeField()
+
 
     ########################################################################
     class Meta:



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list