We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b801b commit 461a0deCopy full SHA for 461a0de
server/djangoapp/models.py
@@ -1,7 +1,7 @@
1
# Uncomment the following imports before adding the Model code
2
3
from django.db import models
4
-#from django.utils.timezone import now
+# from django.utils.timezone import now
5
from django.core.validators import MaxValueValidator, MinValueValidator
6
from django.contrib import admin
7
from .models import CarMake, CarModel
@@ -52,8 +52,8 @@
52
# )
53
# Other fields as needed
54
55
- def __str__(self):
56
- return self.name # Return the name as the string representation
+# def __str__(self):
+# return self.name # Return the name as the string representation
57
58
# Registering models with their respective admins
59
admin.site.register(CarMake)
0 commit comments