Merge pull request #66 from pahpa/hotfix
fix bug model datefield Form (Federated User Admin)
This commit is contained in:
commit
f2acf179ff
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class FederatedUser(JsonAttributes):
|
|||
#: The last ticket used to authenticate :attr:`username` against :attr:`provider`
|
||||
ticket = models.CharField(max_length=255)
|
||||
#: Last update timespampt. Usually, the last time :attr:`ticket` has been set.
|
||||
last_update = models.DateTimeField(auto_now=True)
|
||||
last_update = models.DateTimeField(default=timezone.now)
|
||||
|
||||
def __str__(self):
|
||||
return self.federated_username
|
||||
|
|
Loading…
Reference in a new issue