Under Construction

DJDT

Time

Resource usage

Resource Value
User CPU time 47.562 msec
System CPU time 3.864 msec
Total CPU time 51.426 msec
Elapsed time 90.215 msec
Context switches 14 voluntary, 4 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: 'HRP5k496Dq2X5potIMHtO3F97ugSRJZUeJs3ls8wPhymNRKYRtSmsvi4mIHWlTwK'>, 'debug': True, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff9fa35400>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff9fabfd90>, 'request': '<<request>>', 'sql_queries': <function debug.<locals>.<lambda> at 0xffff9faf6700>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xffff9fabf640>>} {'flatpage': <FlatPage: / -- Home Page>}

Context processors

django.template.context_processors.csrf
Toggle context {'csrf_token': <SimpleLazyObject: 'HRP5k496Dq2X5potIMHtO3F97ugSRJZUeJs3ls8wPhymNRKYRtSmsvi4mIHWlTwK'>}
django.template.context_processors.debug
Toggle context {'debug': True, 'sql_queries': <function debug.<locals>.<lambda> at 0xffff9faf6700>}
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 0xffff9fabf640>>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xffff9fabfd90>}
django.contrib.messages.context_processors.messages
Toggle context {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xffff9fa35400>, '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.21
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 20.13 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
2.30

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(4880)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(4968)
  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
6.58

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(4880)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(4968)
  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
11.25

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(4880)
  return view_func(request, *args, **kwargs)
  
/usr/src/app/accounts/views.py in afs_click_tracking(4968)
  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)