Django 1.7 - What are you most excited about?

106 views
Skip to first unread message

Ryan Blunden

unread,
Jul 29, 2014, 9:31:12 PM7/29/14
to django...@googlegroups.com
Hi everyone,

I'm giving a lightening talk at the San Francisco Django meetup tomorrow night about some of the awesome new features in Django 1.7.

I wanted to highlight not just what I think are the best new features, but what members of the community are most excited about.

Would be great to hear from the Django core contributors too.

Thanks also Django Devs for getting RC 2 up in time for my talk, brilliant timing there!

carlos

unread,
Jul 29, 2014, 10:09:50 PM7/29/14
to django...@googlegroups.com
Hi maybe you need read the release note Django 1.7 about the new features

Cheers :)


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/afb4376a-853d-46df-8db3-e37e5740d91b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Russell Keith-Magee

unread,
Jul 30, 2014, 12:54:21 AM7/30/14
to Django Users
Hi Ryan,

On Wed, Jul 30, 2014 at 9:31 AM, Ryan Blunden <ryan.b...@gmail.com> wrote:
Hi everyone,

I'm giving a lightening talk at the San Francisco Django meetup tomorrow night about some of the awesome new features in Django 1.7.

I wanted to highlight not just what I think are the best new features, but what members of the community are most excited about.

Would be great to hear from the Django core contributors too.
 
Well, the release notes pretty much highlight the things that the core team think are big news. For me, the biggest of those are:

 * Schema migration - obviously

 * App loading - because we finally have somewhere to put signal registrations.

 * The new checks framework - because it's a big internal cleanup, and opens lots of possibilities for the future

 * Converting custom query sets into managers - because this is repetitive work that we've been doing since 0.96

 * Custom managers on reverse relations - because it's an obvious thing to want once you have custom managers.

Yours,
Russ Magee %-)

ma...@tubeards.com

unread,
Jul 30, 2014, 2:00:29 AM7/30/14
to django...@googlegroups.com
Hi,

aggree in all points Russel, these features are also my favourite ones.

  • html email support in different places and the password reset mail template makes life much easier.

Greetings, Marc

Ryan Blunden

unread,
Jul 30, 2014, 12:42:13 PM7/30/14
to django...@googlegroups.com
Hi Carlos,

I’ve read all the release notes and already have my short list of what I think the best features are. But this will be heavily skewed towards the types of Django apps I create and how I use Django.

I wanted to know what the Django community thought were the best new features.

Speaking of which, which is your favorite new feature?

Ryan Blunden

unread,
Jul 30, 2014, 12:52:21 PM7/30/14
to django...@googlegroups.com
Thanks Marc and Russ for your replies, greatly appreciated.

Here are my favorites:

App Loading
  • Applications can run code at startup, before Django does anything else, with the ready() method of their configuration.
  • Apps now don’t need a models.py to be a valid app.
  • Applications can be given a verbose_name for the admin.
  • autodiscover() no longer needed, Django calls this automatically.
System check framework
  • ./manage.py check. Many times, validate would pass but the app would crash once started. I’ve noticed this to be much more robust.
Admin
  • You can now implement site_header, site_title, and index_title attributes on a custom AdminSite in order to easily change the admin site’s page title and header text. No more needing to override templates!
  • @register decorator to register a ModelAdmin.
  • ModelAdmin.list_display_links = None to disable links on the change list page grid.
Auth
  • django.contrib.auth.views.password_reset() takes an optional html_email_template_name parameter used to send a multipart HTML email for password resets.
Email
  • send_mail() now accepts an html_message parameter for sending a multipart text/plain and text/html email.
Managers
  • Better Managers by subleasing QuerySet and using query set.as_manager()
Templates
  • The new truncatechars_html filter truncates a string to be no longer than the specified number of characters, taking HTML into account. 
Requests and responses
  • The new JsonResponse subclass 

aRkadeFR

unread,
Jul 30, 2014, 3:38:32 PM7/30/14
to django...@googlegroups.com
Definitely the schema migration :)

I enjoy lots the App Loading and the Check framework too.

On 29/07/14 18:12, Ryan Blunden wrote:
> Hi everyone,
>
> I'm giving a lightening talk at the San Francisco Django meetup tomorrow
> night about some of the awesome new features in Django 1.7.
>
> I wanted to highlight not just what *I think* are the best new features,
> but what members of the community are most excited about.
>
> Would be great to hear from the Django core contributors too.
>
> Thanks also Django Devs for getting RC 2 up in time for my talk, brilliant
> timing there!
>
Reply all
Reply to author
Forward
0 new messages