Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Fixed #22867 -- Memoized django.utils.version.get_git_changes…

…et()."

This reverts commit 80f4487 temporarily, because that commit prevented
the djangoproject.com server from building the docs, because it still
uses Python 2.6.
  • Loading branch information...
commit 01399fa0aaa817281c77bbb4b7d82c6c8487c916 1 parent 80f4487
@aaugustin aaugustin authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  django/utils/version.py
View
3  django/utils/version.py
@@ -4,8 +4,6 @@
import os
import subprocess
-from django.utils.lru_cache import lru_cache
-
def get_version(version=None):
"Returns a PEP 386-compliant version number from VERSION."
@@ -52,7 +50,6 @@ def get_complete_version(version=None):
return version
-@lru_cache()
def get_git_changeset():
"""Returns a numeric identifier of the latest git changeset.
Please sign in to comment.
Something went wrong with that request. Please try again.