2. What is it?
• A branch of Django trunk that refactored
django.contrib.admin to use newforms.
• Many API improvements, model decoupling
and new features.
• Landed in trunk at revision 7967.
• A part of Django 1.0.
3. What has changed?
• No longer specify admin options in your
model or model fields.
4. # models.py
from django.db import models
class Article(models.Model):
title = models.CharField(max_length=50)
slug = models.SlugField(
prepopulate_fields=(‘title’,))
class Admin:
list_display = (‘title’,)