Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
What’s New in
newforms-admin
    Brian Rosner
   DjangoCon 2008
What is it?
• A branch of Django trunk that refactored
  django.contrib.admin to use newforms.
• Many API improvements, mo...
What has changed?


• No longer specify admin options in your
  model or model fields.
# models.py
from django.db import models

class Article(models.Model):
    title = models.CharField(max_length=50)
    slu...
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
What's New in newforms-admin
Upcoming SlideShare
Loading in …5
×

What's New in newforms-admin

1,601 views

Published on

The "What's New in newforms-admin" presentation I gave at DjangoCon 2008.

Published in: Technology, Lifestyle
  • Be the first to comment

What's New in newforms-admin

  1. 1. What’s New in newforms-admin Brian Rosner DjangoCon 2008
  2. 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. 3. What has changed? • No longer specify admin options in your model or model fields.
  4. 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’,)

×