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,512 views
1,496 views

Published on

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

Published in: Technology, Lifestyle
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,512
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
42
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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’,)

×