mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Use account PK instead of the user_id variable
This commit is contained in:
@@ -57,6 +57,8 @@ class CachedDocumentManager(models.Manager):
|
||||
url = self.construct_url(url_path, params)
|
||||
doc_key = sha1(url).hexdigest()
|
||||
|
||||
print url
|
||||
|
||||
try:
|
||||
doc = super(CachedDocumentManager, self).get_query_set().get(pk=doc_key)
|
||||
created = False
|
||||
|
||||
Reference in New Issue
Block a user