Added timestamp update for corps

This commit is contained in:
2010-03-14 11:07:50 +00:00
parent c9eb1518f3
commit db8e61ab07

View File

@@ -1,6 +1,8 @@
""" """
This module holds data from the EVE XML API. This module holds data from the EVE XML API.
""" """
from datetime import datetime
from django.db import models from django.db import models
from django.contrib.auth.models import User, Group from django.contrib.auth.models import User, Group
from eve_proxy.models import CachedDocument from eve_proxy.models import CachedDocument
@@ -194,4 +196,5 @@ class EVEPlayerCorporation(EVEAPIModel):
continue continue
print "Updating", self.id, self.name print "Updating", self.id, self.name
self.api_last_updated = datetime.utcnow()
self.save() self.save()