Skip to content

Commit

Permalink
a few changes for admin form purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
catsmith committed Feb 6, 2024
1 parent b34007b commit c5336fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
class BaseModel (models.Model):

created_time = models.DateTimeField(null=True)
created_by = models.TextField('created_by', blank=True)
created_by = models.TextField(verbose_name='Created by', blank=True)
last_modified_time = models.DateTimeField(null=True)
last_modified_by = models.TextField('Last_modified_by', blank=True)
last_modified_by = models.TextField(verbose_name='Last modified by', blank=True)
version_number = models.IntegerField(null=True) # has to be null because set in post_save on create

def get_serialization_fields():
Expand Down

0 comments on commit c5336fd

Please sign in to comment.