from django.contrib import admin

# Register your models here.
from .models import Category, Recipe

admin.site.register(Category)

class RecipeAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}

admin.site.register(Recipe, RecipeAdmin) 

29568752bc726f7cfc8fdd9013c1c5fc88b364ac
<mask token>


class RecipeAdmin(admin.ModelAdmin):
    <mask token>


<mask token>

<mask token>


class RecipeAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}


<mask token>

<mask token>
admin.site.register(Category)


class RecipeAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}


admin.site.register(Recipe, RecipeAdmin)

from django.contrib import admin
from .models import Category, Recipe
admin.site.register(Category)


class RecipeAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}


admin.site.register(Recipe, RecipeAdmin)

from django.contrib import admin

# Register your models here.
from .models import Category, Recipe

admin.site.register(Category)

class RecipeAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('title',)}

admin.site.register(Recipe, RecipeAdmin) 
