I wouldn't be *too* concerned about the version numbers covered by books.
Django has a strict backwards compatibility policy, specifically so that
code will continue to work between versions. We've added features, and
fixed bugs, but we've tried very hard to ensure that code will continue to
work between versions.

To that end, a tutorial that worked on Django 1.0 will work *almost*
entirely out of the box for Django 1.5. There are some exceptions, but
they're pretty well documented in the Django release notes. Off the top of
my head, the only changes you're likely to catch in a tutorial situation
are:

 * A change in the way you deploy admin (introduced in Django 1.1). If the
tutorial says to register your admin urls using "(r'^admin/(.*)',
admin.site.root),", you'll need to replace this with "(r'^admin/',
include(admin.site.urls)),"

 * A change in the use of quotation marks in the {% url %} tag (introduced
in Django 1.3). If your tutorial instructs you to put {% url name-of-view
%} in a template, you will need to use {% url "name-of-view" %} instead.

 * A subtle change in the default project layout (introduced in Django
1.4). Django 1.4 introduced a subdirectory for some project-level settings.
The changes should be fairly obvious.

 * A handful of changes to specific settings (e.g., database settings),
made over various versions. For example, the DATABASE_NAME setting in
Django 1.0 was renamed to be a 'NAME' key in a dictionary of settings in
Django 1.2.

I might have missed a couple of other changes, depending on the tutorial
you're following, but these should be the big ones.

That said, your best bet will always be to download the version of Django
that matches your tutorial; once you've got the tutorial working, you can
try upgrading versions until you're up to date. When Django introduces a
backwards incompatible change, we also introduce warnings and errors to
notify the user that these changes are happening; so, for example, if you
had a tutorial that was working under Django 1.1, and you updated your
Django install to 1.3, you would start to see warnings about the format of
your database settings.

Yours,
Russ Magee %-)

On Thu, May 9, 2013 at 5:03 PM, Federico Erbea <kyuby1...@gmail.com> wrote:

> Thanks but there isn't something more new, maybe make with django 1.4?
>
> Il giorno giovedì 9 maggio 2013 10:56:17 UTC+2, Federico Erbea ha scritto:
>
>> I bought a Marco Beri's book "Sviluppare applicazioni web con django" but
>> after the first chapter only explains the different functions in
>> contrast to the first chapter where the functions were explained by
>> developing them.
>> I also bought "Instant Django Application Development 
>> Starter<http://books.google.it/books?id=7Ebmb9UpCycC&pg=PA14&dq=Instant+Django+Application+Development+Starter&hl=it&sa=X&ei=hmOLUY7PMpPe7AaTpYGoCw&ved=0CDYQ6AEwAA>"
>> of Mauro Rocco, 
>> "<https://groups.google.com/forum/Definitive%20Guide%20to%20Django:%20Web%20Development%20Done%20Right>Definitive
>> Guide to Django: Web Development Done 
>> Right"<http://books.google.it/books?id=Gpr7J7-FFmwC&printsec=frontcover&dq=Definitive+Guide+to+Django:+Web+Development+Done+Right&hl=it&sa=X&ei=qGOLUYmYN6ro7AbXn4DIDw&ved=0CD0Q6AEwAA>of
>>  Holovaty
>> Adrian and "Pro 
>> Django<http://books.google.it/books/about/Pro_Django.html?id=lJwOcsZq5g4C&redir_esc=y>"
>> of Alchin Marty.
>> I have not read the last three, think reflect my request or do you know
>> of the best and most related.
>>
>  --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to