These are chat archives for django/django
two scoops ofwhen to use a
@danh:matrix.orghow can i confirm a user email address from command line (django shell) made with django-allauth ?
def save(self, *args, **kwargs)in Model documentation?
obj = MyModel(some_field='hello'); obj.save(). You should be careful when overriding this method and always call the parent's save, ie.
super().save(*args, **kwargs). There is rarely a situation where overriding save is a good solution. If you require for some action to happen after the save, you should be probably using signals and not calling the method from within the save method
book.set_publisher(publisher)and then in
set_publisheryou can (1) save the book object with the new publisher, (2) send email to the book's author
I wonder what is the platform to use with django that enable the following features:
I tried docker containers, it a long process of building, pushing, pulling, ... etc.