Under Construction

DJDT

Time

Resource usage

Resource Value
User CPU time 202.004 msec
System CPU time 46.878 msec
Total CPU time 248.882 msec
Elapsed time 257.578 msec
Context switches 10 voluntary, 7 involuntary

Browser timing

Timing attribute Timeline Milliseconds since navigation start (+length)

Templates (1 rendered)

Template path

  1. /usr/src/app/templates

Template

flatpages/default.html
/usr/src/app/templates/flatpages/default.html
Toggle context {'False': False, 'None': None, 'True': True} {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'csrf_token': <SimpleLazyObject: 'Az46O8GoJa3FfqX4Us2ySZu1P0cqndSl6Z2KMOjMwYkBaJdf2h8ygGU8tjwJ7Qeh'>, 'debug': True, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff934ff990>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff93787410>, 'request': '<<request>>', 'sql_queries': <function debug.<locals>.<lambda> at 0xffff9339f7a0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xffff9349ad50>>} {'flatpage': <FlatPage: / -- Home Page>}

Context processors

django.template.context_processors.csrf
Toggle context {'csrf_token': <SimpleLazyObject: 'Az46O8GoJa3FfqX4Us2ySZu1P0cqndSl6Z2KMOjMwYkBaJdf2h8ygGU8tjwJ7Qeh'>}
django.template.context_processors.debug
Toggle context {'debug': True, 'sql_queries': <function debug.<locals>.<lambda> at 0xffff9339f7a0>}
django.template.context_processors.request
Toggle context {'request': <WSGIRequest: GET '/'>}
django.contrib.auth.context_processors.auth
Toggle context {'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xffff9349ad50>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff93787410>}
django.contrib.messages.context_processors.messages
Toggle context {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff934ff990>, 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30, 'ERROR': 40}}

Request

View information

View function Arguments Keyword arguments URL name
accounts.views.wrapper () {'url': '/'} get-ads

No cookies

No session data

No GET data

No POST data

Versions

Package Name Version
Django 3.2.19
Python 3.7.17
debug_toolbar Debug Toolbar 3.2.4
django_celery_beat Periodic Tasks 2.5.0
django_celery_results Celery Results 2.0.1
django_enumfield Django_Enumfield 3.0
django_filters Django_Filters 2.4.0
django_user_agents Django_User_Agents 0.4.0
import_export Import_Export 2.7.1
phonenumber_field Phonenumber_Field 5.2.0
phonenumbers Phonenumbers 8.13.20
post_office Post Office 3.5.3
rest_framework Django REST framework 3.13.1
smart_selects Smart_Selects 1.6.0

SQL queries from 1 connection

  • default_read 4.24 ms (3 queries )
Query Timeline Time (ms) Action
SELECT VERSION(), @@sql_mode, @@default_storage_engine, @@sql_auto_is_null, @@lower_case_table_names,
       CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL
SELECT VERSION(), @@sql_mode, @@default_storage_engine, @@sql_auto_is_null, @@lower_case_table_names, CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL
1.13

Connection: default_read

/usr/local/lib/python3.7/site-packages/gevent/baseserver.py in _handle_and_close_when_done(34)
  return handle(*args_tuple)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle(139)
  super().handle(listener, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle(55)
  self.handle_request(listener_name, req, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle_request(143)
  super().handle_request(listener_name, req, sock, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle_request(106)
  respiter = self.wsgi(environ, resp.start_response)
  
/usr/local/lib/python3.7/site-packages/corsheaders/middleware.py in __call__(56)
  result = self.get_response(request)
  
/usr/local/lib/python3.7/site-packages/django_user_agents/middleware.py in __call__(14)
  return self.get_response(request)
  
/usr/src/app/accounts/middleware.py in __call__(120)
  response = self.get_response(request)
  
/usr/src/app/accounts/views.py in wrapper(3520)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(3552)
  f = get_object_or_404(FlatPage, url=url, sites=site_id)
  
/usr/local/lib/python3.7/site-packages/django/shortcuts.py in get_object_or_404(76)
  return queryset.get(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  


   SET

SESSION

TRANSACTION

ISOLATION
LEVEL READ COMMITTED
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
1.51

Connection: default_read

/usr/local/lib/python3.7/site-packages/gevent/baseserver.py in _handle_and_close_when_done(34)
  return handle(*args_tuple)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle(139)
  super().handle(listener, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle(55)
  self.handle_request(listener_name, req, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle_request(143)
  super().handle_request(listener_name, req, sock, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle_request(106)
  respiter = self.wsgi(environ, resp.start_response)
  
/usr/local/lib/python3.7/site-packages/corsheaders/middleware.py in __call__(56)
  result = self.get_response(request)
  
/usr/local/lib/python3.7/site-packages/django_user_agents/middleware.py in __call__(14)
  return self.get_response(request)
  
/usr/src/app/accounts/middleware.py in __call__(120)
  response = self.get_response(request)
  
/usr/src/app/accounts/views.py in wrapper(3520)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(3552)
  f = get_object_or_404(FlatPage, url=url, sites=site_id)
  
/usr/local/lib/python3.7/site-packages/django/shortcuts.py in get_object_or_404(76)
  return queryset.get(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  
/usr/local/lib/python3.7/site-packages/django/utils/asyncio.py in inner(33)
  return func(*args, **kwargs)
  

SELECT `django_flatpage`.`id`,
       `django_flatpage`.`url`,
       `django_flatpage`.`title`,
       `django_flatpage`.`content`,
       `django_flatpage`.`enable_comments`,
       `django_flatpage`.`template_name`,
       `django_flatpage`.`registration_required`
  FROM
`django_flatpage`
 INNER JOIN
`django_flatpage_sites`
    ON
(`django_flatpage`.`id` = `django_flatpage_sites`.`flatpage_id`)
 WHERE
(`django_flatpage_sites`.`site_id` = 1 AND `django_flatpage`.`url` = '/')
 LIMIT
21
SELECT ••• FROM `django_flatpage` INNER JOIN `django_flatpage_sites` ON (`django_flatpage`.`id` = `django_flatpage_sites`.`flatpage_id`) WHERE (`django_flatpage_sites`.`site_id` = 1 AND `django_flatpage`.`url` = '/') LIMIT 21
1.60

Connection: default_read

/usr/local/lib/python3.7/site-packages/gevent/baseserver.py in _handle_and_close_when_done(34)
  return handle(*args_tuple)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle(139)
  super().handle(listener, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle(55)
  self.handle_request(listener_name, req, client, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py in handle_request(143)
  super().handle_request(listener_name, req, sock, addr)
  
/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py in handle_request(106)
  respiter = self.wsgi(environ, resp.start_response)
  
/usr/local/lib/python3.7/site-packages/corsheaders/middleware.py in __call__(56)
  result = self.get_response(request)
  
/usr/local/lib/python3.7/site-packages/django_user_agents/middleware.py in __call__(14)
  return self.get_response(request)
  
/usr/src/app/accounts/middleware.py in __call__(120)
  response = self.get_response(request)
  
/usr/src/app/accounts/views.py in wrapper(3520)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(3552)
  f = get_object_or_404(FlatPage, url=url, sites=site_id)
  
/usr/local/lib/python3.7/site-packages/django/shortcuts.py in get_object_or_404(76)
  return queryset.get(*args, **kwargs)