Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exception while resolving variable 'name' in template 'unknown'.
- Traceback (most recent call last):
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
- response = get_response(request)
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- callback, callback_args, callback_kwargs = self.resolve_request(request)
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\core\handlers\base.py", line 313, in resolve_request
- resolver_match = resolver.resolve(request.path_info)
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\urls\resolvers.py", line 683, in resolve
- raise Resolver404({"tried": tried, "path": new_path})
- django.urls.exceptions.Resolver404: {'tried': [[<URLResolver <URLPattern list> (admin:admin) 'admin/'>], [<URLResolver <module 'front.urls' from 'C:\\xampp/htdocs/astinarts\\front\\urls.py'> (None:None) ''>, <URLPattern ''>], [<URLResolver <module 'front.urls' from 'C:\\xampp/htdocs/astinarts\\front\\urls.py'> (None:None) ''>, <URLPattern '^images/(?P<path>.*)$'>]], 'path': 'favicon.ico'}
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\template\base.py", line 875, in _resolve_lookup
- current = current[bit]
- TypeError: 'URLResolver' object is not subscriptable
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\template\base.py", line 885, in _resolve_lookup
- current = getattr(current, bit)
- AttributeError: 'URLResolver' object has no attribute 'name'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\template\base.py", line 891, in _resolve_lookup
- current = current[int(bit)]
- ValueError: invalid literal for int() with base 10: 'name'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Users\taber\.virtualenvs\htdocs-auttCy-h\Lib\site-packages\django\template\base.py", line 898, in _resolve_lookup
- raise VariableDoesNotExist(
- django.template.base.VariableDoesNotExist: Failed lookup for key [name] in <URLResolver <URLPattern list> (admin:admin) 'admin/'>
- Not Found: /favicon.ico
- (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."expire_date" > '2022-04-08 07:51:33.995581' AND "django_session"."session_key" = 'u6oviph95veszhbut6x1umwr9sni27bg') LIMIT 21; args=('2022-04-08 07:51:33.995581', 'u6oviph95veszhbut6x1umwr9sni27bg'); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 LIMIT 21; args=(1,); alias=default
- (0.000) SELECT "mainfront_article"."id", "mainfront_article"."title", "mainfront_article"."body", "mainfront_article"."created_at", "mainfront_article"."user_id" FROM "mainfront_article" ORDER BY "mainfront_article"."created_at" DESC; args=(); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 LIMIT 21; args=(1,); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 2 LIMIT 21; args=(2,); alias=default
- (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."expire_date" > '2022-04-08 07:57:18.846695' AND "django_session"."session_key" = 'u6oviph95veszhbut6x1umwr9sni27bg') LIMIT 21; args=('2022-04-08 07:57:18.846695', 'u6oviph95veszhbut6x1umwr9sni27bg'); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 LIMIT 21; args=(1,); alias=default
- (0.000) SELECT "mainfront_article"."id", "mainfront_article"."title", "mainfront_article"."body", "mainfront_article"."created_at", "mainfront_article"."user_id" FROM "mainfront_article" ORDER BY "mainfront_article"."created_at" DESC; args=(); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 LIMIT 21; args=(1,); alias=default
- (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 2 LIMIT 21; args=(2,); alias=default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement