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

Fixed #22867 Pickling models is slow in alpha versions #2829

wants to merge 2 commits into
base: master


None yet
3 participants
Copy link

Suor commented Jun 19, 2014

No description provided.

Memoize django.utils.version.get_version()
To not create a git subprocess on each version check in alpha djangos.


This comment has been minimized.


loic Jun 19, 2014


How about @lru_cache on get_git_changeset() instead? I'm not a huge fan of @lru_cache with maxsize=None in general.


This comment has been minimized.

Copy link
Contributor Author

Suor commented Jun 19, 2014

Moved @lru_cache() to get_git_changeset()


This comment has been minimized.

Copy link

timgraham commented Jun 19, 2014

merged in 80f4487, thanks.

@timgraham timgraham closed this Jun 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.