Hi dear Mr.Whitesell .
I hope you are fine .
I have done what you told me in this quotation as yoy can see in code below .
class SpecialFoodAdmin(admin.ModelAdmin):
def save(self, *args, **kwargs):
if self.lunchName != "pasta":
super().save(*args, *kwargs)
But when I create an object with the lunch name of pasta, it still saves that object that is not what I want . Is it possible to give me a guidance to how to solve it ?
Thanks .
Kind regards .
Hi dear Mr.Whitesell.
I hope you are fine .
My restaurant project has just finished now.
I want to ask is there anyway to upload my project without using git ?
Because I only want to upload my django project in the earliest time .
Thanks .
Kind regards.