mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Removed a print, added the info to a correct debug logging call
This commit is contained in:
@@ -68,10 +68,9 @@ class CachedDocumentManager(models.Manager):
|
||||
url = self.construct_url(url_path, params)
|
||||
doc_key = sha1(url).hexdigest()
|
||||
|
||||
logger.debug('Requesting URL: %s' % url)
|
||||
logger.debug('Requesting URL: %s (Key: %s)' % (url, doc_key))
|
||||
|
||||
try:
|
||||
print doc_key
|
||||
doc = super(CachedDocumentManager, self).get_query_set().get(pk=doc_key)
|
||||
created = False
|
||||
except self.model.DoesNotExist:
|
||||
|
||||
Reference in New Issue
Block a user