Tag archives: django

RSS feed of django

I'm currently very excited about Zappa, mainly because of its ability to easily deploy Django to AWS Lambda. This post will be a collection of URLs to different tutorials and manuals about how to deploy Zappa and configure AWS VPC accordingly. I deployed https://www.kalakeitto.fi with it.

My main goal was to ...

It's often best to check what is going to be deleted with obj.delete() before actually running it, and the way to do it can be found, for example, here: https://stackoverflow.com/questions/12158714/how-to-show-related-items-using-deleteview-in-django

TL;DR:

from django.contrib.admin.utils import NestedObjects
collector = NestedObjects(using='default')
collector.collect([obj])
collector.nested()