State Of Django

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    State Of Django - Presentation Transcript

    1. The State of Django Jacob Kaplan-Moss PyCon, March 27, 2009 http://jacobian.org/speaking/2009/state-of-django/
    2. Happy five years!
    3. Since PyCon 2008...
    4. 7,000
    5. 14,000
    6. QSRF NFA
    7. Merged
    8. “Dude, we should totally have a big Django meetup some time!”
    9. Developing reusable apps James Bennett ! ! PyCon Chicago, March 15, 2008
    10. Django 0.96 Over one year old
    11. 1.0
    12. Unicode http://docs.djangoproject.com/en/dev/ref/unicode/
    13. Home Download Documentation Weblog Community Code Django documentation Search Everything you need to know about Django (and then Search some). Latest 1.0 0.96 All First steps Getting help Overview Browse Having trouble? We’d like to See what writing a database-driven help! Table of contents application with Django looks like. General Index Try the FAQ – it’s got Installation Global Module Index answers to many common Get Django installed on your computer. questions. Looking for specific You are here: Tutorial: Writing your first information? Try the Index, Django v1.0 documentation Django application Module Index or the detailed table of contents. Django documentation Part 1 Search for information in the Start a project, create models and play Last update: archives of the django-users with the database API. mailing list, or post a September 12, 2008, noon (CDT) docs.djangoproject.com Part 2 question. Explore the automatically-generated Ask a question in the admin site. #django IRC channel, or search the IRC logs to see if Part 3 its been asked before.
    14. 48 languages
    15. Signals
    16. 0.96
    17. 1.0
    18. QSRF
    19. Oracle
    20. Pluggable file storage http://docs.djangoproject.com/env/dev/howto/custom-file-storage/
    21. newforms
    22. ModelForms http://docs.djangoproject.com/en/dev/topics/forms/modelforms/
    23. Formsets http://docs.djangoproject.com/en/dev/forms/formsets/
    24. Session backends http://docs.djangoproject.com/en/dev/topics/http/sessions/
    25. File uploads: less FAIL
    26. autoescape
    27. Databrowse http://docs.djangoproject.com/en/dev/ref/contrib/databrowse/
    28. Databrowse Reporters John Doe, Jane Smith, Eric Jones, More ! Articles Dog bites man, Man bites dog, More !
    29. Databrowse Home / Reporters / Jane Smith Reporter: Jane Smith ID 2 Name Jane Smith Email jsmith@example.net Appears in \"reporter\" in the following articles: Dog bites man
    30. django wiki mercurial docs presentations vmware (user: geo, pass: where2.0) A world-class geographic web framework GeoDjango
    31. newforms-admin
    32. Jython PyPy IronPython*
    33. et cetera
    34. Django 1.1 beta now available
    35. What’s new in 1.1? http://docs.djangoproject.com/en/dev/releases/1.1-alpha-1/ http://docs.djangoproject.com/en/dev/releases/1.1-beta-1/
    36. ORM aggregation http://docs.djangoproject.com/en/dev/topics/db/aggregation/
    37. >>> Book.objects.aggregate( ...     Avg('price'), ...     highest_price = Max('price')) {'price_avg': 45.0, 'highest_price': 82.80}
    38. >>> Author.objects.aggregate(Sum('book__price')) {'book_price_sum': 442}
    39. >>> books = Book.objects.annotate(Max('authors__age')) >>> books[0].name u'Python Web Development With Django' >>> books[0].authors.all() [<Author: Jeffrey Forcier >, <Author: Paul Bissex>,  <Author: Wesley J. Chun>] >>> books[0].authors__age__max 37.0
    40. Publisher.objects.annotate(num_books=Count('book__id')) \\                  .filter(num_books__gt=1) \\                  .order_by('num_books')
    41. Query Expressions http://docs.djangoproject.com/en/dev/topics/db/queries/#query-expressions
    42. >>> Poll.objects.update(votes = F('votes') + 1)
    43. Test faster
    44. Unmanaged models
    45. class Person(models.Model):     ...     class Meta:         managed = False
    46. Proxy models
    47. from django.contrib.auth import User class EmotionalUser(User):     class Meta:         proxy = True     def is_angry(self):         return self.username == 'hulk'
    48. Deferred fields
    49. >>> Story.objects.filter(...).defer('body')
    50. Conditional View Processing http://docs.djangoproject.com/en/dev/topics/conditional-view-processing
    51. def latest_entry(request):     return Entry.objects.aggregate(Max('published')) @last_modified(latest_entry) def front_page(request):     ...
    52. Admin
    53. What’s next?
    54. Django 1.1 April 20ish
    55. Please help!
    56. GSoC
    57. EuroDjangoCon
    58. US DjangoCon ’09
    59. 1.2
    60. Py3k
    61. Thank you! Jacob Kaplan-Moss <jacob@jacobian.org> BoF: 2:30pm today

    + Jacob Kaplan-MossJacob Kaplan-Moss, 8 months ago

    custom

    1161 views, 4 favs, 0 embeds more stats

    Django 1.0 was released in September 2008. This rel more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1161
      • 1161 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 37
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories