mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Refs #29548 -- Fixed failing window tests on MariaDB 10.3.
This commit is contained in:
parent
06a11ef6ec
commit
4198445afc
5 changed files with 58 additions and 27 deletions
|
|
@ -6,6 +6,7 @@ class Employee(models.Model):
|
|||
salary = models.PositiveIntegerField()
|
||||
department = models.CharField(max_length=40, blank=False, null=False)
|
||||
hire_date = models.DateField(blank=False, null=False)
|
||||
age = models.IntegerField(blank=False, null=False)
|
||||
|
||||
def __str__(self):
|
||||
return '{}, {}, {}, {}'.format(self.name, self.department, self.salary, self.hire_date)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue