Hello,
I want to override the save for the show model so I check for if the value 
passed for a field is null if so ignore saving for the field

class Shows(models.Model):
    some_field = models.CharField(max_length=128, default="something")

    def save(self, *args, **kwargs):
        super(Show, self).save()



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c31be361-21f1-45c9-8257-78b56bf45c78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to