Under Construction

DJDT

Time

Resource usage

Resource Value
User CPU time 43.280 msec
System CPU time 7.545 msec
Total CPU time 50.825 msec
Elapsed time 60.325 msec
Context switches 10 voluntary, 13 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: 'juZmawSvFhqSU6bTn0NHTMSbXqJbJACz81FtoeVuQtWJHGSWlaPPmemKUPpGdRwt'>, 'debug': True, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff7bd74e50>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff7bb27c40>, 'request': '<<request>>', 'sql_queries': <function debug.<locals>.<lambda> at 0xffff7b52e670>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xffff7bfd0370>>} {'flatpage': <FlatPage: / -- Home Page>}

Context processors

django.template.context_processors.csrf
Toggle context {'csrf_token': <SimpleLazyObject: 'juZmawSvFhqSU6bTn0NHTMSbXqJbJACz81FtoeVuQtWJHGSWlaPPmemKUPpGdRwt'>}
django.template.context_processors.debug
Toggle context {'debug': True, 'sql_queries': <function debug.<locals>.<lambda> at 0xffff7b52e670>}
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 0xffff7bfd0370>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff7bb27c40>}
django.contrib.messages.context_processors.messages
Toggle context {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff7bd74e50>, '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.9.20
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
drf_spectacular drf-spectacular 0.27.2
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.87 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.62

Connection: default_read

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

Connection: default_read

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

Connection: default_read

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