Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various deprecation warnings #2222

Merged
merged 11 commits into from Feb 5, 2017
Merged

Fix various deprecation warnings #2222

merged 11 commits into from Feb 5, 2017

Commits on Feb 5, 2017

  1. Copy the full SHA
    9d81908 View commit details
    Browse the repository at this point in the history
  2. UnitTest.assertEqual instead of .assertEquals()

    Latter one is deprecated
    mvantellingen committed Feb 5, 2017
    Copy the full SHA
    c6db096 View commit details
    Browse the repository at this point in the history
  3. Add user_is_authenticated / user_is_anonymous.

    Since 1.10 these are properties on the user instead of
    methods. The functions are for compat between 1.8+ and 1.10+
    mvantellingen committed Feb 5, 2017
    Copy the full SHA
    e8ea11b View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f29c87f View commit details
    Browse the repository at this point in the history
  5. include() is no longer needed for Application.urls()

    This fixes a DeprecationWarning
    mvantellingen committed Feb 5, 2017
    Copy the full SHA
    89e18dc View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    ebb1b76 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    a522060 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    caba503 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    6b12171 View commit details
    Browse the repository at this point in the history
  10. Don't use fh.readlines() to iterate through a file.

    Instead use `for line in fh` since that is less memory intensive
    mvantellingen committed Feb 5, 2017
    Copy the full SHA
    9b03a1c View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    534d1a6 View commit details
    Browse the repository at this point in the history