diff --git a/README.md b/README.md index c434544dd0805605606bc4afe299a567a2206dd8..c10ae2987adb7b299c1eb883b42b10bc99c71fe6 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,14 @@ This is a project implementing the blog post by Mbithe Nzomo. **Solution(for now):** Modify line 189 in `fields.py` from - ```shell - cls, key = identity_key(instance=obj) + ```python + 188 def get_pk_from_identity(obj): + 189 cls, key = identity_key(instance=obj) + 190 return ':'.join(text_type(x) for x in key) ``` to - ```shell - cls, key = identity_key(instance=obj)[:2] + ```python + 188 def get_pk_from_identity(obj): + 189 cls, key = identity_key(instance=obj)[:2] + 190 return ':'.join(text_type(x) for x in key) ```