Skip to content

Commit 461a0de

Browse files
author
jcob
committed
update model
1 parent 74b801b commit 461a0de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/djangoapp/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Uncomment the following imports before adding the Model code
22

33
from django.db import models
4-
#from django.utils.timezone import now
4+
# from django.utils.timezone import now
55
from django.core.validators import MaxValueValidator, MinValueValidator
66
from django.contrib import admin
77
from .models import CarMake, CarModel
@@ -52,8 +52,8 @@
5252
# )
5353
# Other fields as needed
5454

55-
def __str__(self):
56-
return self.name # Return the name as the string representation
55+
# def __str__(self):
56+
# return self.name # Return the name as the string representation
5757

5858
# Registering models with their respective admins
5959
admin.site.register(CarMake)

0 commit comments

Comments
 (0)