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

Use string values for django-cache keys #230 #242

Merged
merged 7 commits into from Oct 11, 2021

Commits on Oct 11, 2021

  1. Use string values for django-chache keys.

    When django cache backend tests the key provided by django_celery_results, It wants to have str type value. 
    byte values result in the following exception being raised:
    
      File "/opt/exaboard/eXaboard/lib/python3.6/site-packages/django/core/cache/backends/base.py", line 287, in memcache_key_warnings
        if ord(char) < 33 or ord(char) == 127:
    TypeError: ord() expected string of length 1, but int found
    badeendjuh committed Oct 11, 2021
    Copy the full SHA
    a5a4566 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e227772 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    21e2fa6 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    9e87896 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    66d0bf3 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    c09fa99 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    1bdc35f View commit details
    Browse the repository at this point in the history