Mir Stephen
Mir Stephen

Reputation: 1927

Django 1.1 vs Django 2.2

I am new in Django, just made a simple blogging website and now I want to move in more complex projects. I recently find Django 1.11 ecommerce website tutorial which seems to be very nice, but I am concerned about its version. I need your advice at should I go with Django 1.1 here? how different are these two versions and what are some major changes to notice while following these tutorials? Thank you for your help!

Upvotes: 1

Views: 5192

Answers (1)

Action Jackson
Action Jackson

Reputation: 1206

You must mean django 1.11, not 1.1, because 1.1 is super old and unsupported.

In short, the most obvious differences between 1.11 and 2.2 is:

  1. url() becomes path(), which makes it look a lot cleaner because regular expressions aren't visible in the url. They're still there, but they're far easier to write with the newer path converters. But you can still use regex's if needed.
  2. Python 3 only.
  3. The locations of certain built in libraries have also changed a little bit.

Check the release notes for 2.2 as well.

Upvotes: 10

Related Questions