mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 17:42:08 +00:00
11 lines
185 B
Python
11 lines
185 B
Python
from django.contrib import admin
|
|
|
|
from .models import Entry
|
|
|
|
|
|
class EntryAdmin(admin.ModelAdmin):
|
|
prepopulated_fields = {"slug": ["title"]}
|
|
|
|
|
|
admin.site.register(Entry, EntryAdmin)
|