We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97a6e67 commit 2682e49Copy full SHA for 2682e49
1 file changed
redesign/person/models.py
@@ -1,12 +1,14 @@
1
# Copyright The IETF Trust 2007, All Rights Reserved
2
3
+import datetime
4
+
5
from django.db import models
6
from django.contrib.auth.models import User
7
8
from redesign.person.name import name_parts
9
10
class PersonInfo(models.Model):
- time = models.DateTimeField(auto_now_add=True) # When this Person record entered the system
11
+ time = models.DateTimeField(default=datetime.datetime.now) # When this Person record entered the system
12
name = models.CharField(max_length=255, db_index=True) # The normal unicode form of the name. This must be
13
# set to the same value as the ascii-form if equal.
14
ascii = models.CharField(max_length=255) # The normal ascii-form of the name.
0 commit comments