old_contents: from django.contrib import admin
  from .models import Recipe, Step, Ingredient
  
  class StepInline(admin.TabularInline):
      model = Step
      extra = 2
      classes = ['collapse']
  
  class IngredientInline(admin.TabularInline):
      model = Ingredient
      extra = 2
      classes = ['collapse']
  
  class RecipeAdmin(admin.ModelAdmin):
      fieldsets = [
          (None, {'fields': ['recipe_name', 'recipe_description']}),
          ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
      ]
      inlines = [StepInline, IngredientInline]
      
  # Register your models here.
  admin.site.register(Recipe, RecipeAdmin)
  
new_contents: from django.contrib import admin
  from .models import Recipe, Step, Ingredient
  
  class StepInline(admin.TabularInline):
      model = Step
      extra = 2
      classes = ['collapse']
  
  class IngredientInline(admin.TabularInline):
      model = Ingredient
      extra = 2
      classes = ['collapse']
  
  class RecipeAdmin(admin.ModelAdmin):
      fieldsets = [
          (None, {'fields': ['recipe_name', 'recipe_description']}),
          ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
      ]
      inlines = [IngredientInline, StepInline]
      
  # Register your models here.
  admin.site.register(Recipe, RecipeAdmin)
  
subject: Change order of steps and ingredients on admin site