Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Recipe(models.Model):
- name = models.CharField(max_length=128)
- instructions = models.TextField(blank=True)
- class RecipeAdmin(NestedModelAdmin):
- model = Recipe
- inlines = (VariationsInline,)
Add Comment
Please, Sign In to add comment