Django Quickies

Debugging in templates <pre>{% debug %}</pre> <pre>errors {{ form.error_dict|pprint }}</pre> <pre>data {{ form.data|pprint }}</pre> Example of Edit Inline models.py class Poll(models.Model): question = models.CharField(maxlength = 200) class Choice(models.Model): poll = models.ForeignKey(Poll, edit_inline=models.STACKED, num_in_admin=3) choice = models.CharField(maxlength = 200, core =