Changes between Initial Version and Version 1 of Ticket #34957


Ignore:
Timestamp:
Nov 8, 2023, 4:11:08 AM (8 months ago)
Author:
younes-chaoui
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34957 – Description

    initial v1  
    1515print(visites)
    1616}}}
     17
     18**Tracelog**
     19
     20{{{
     21 File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1913, in setup_joins
     22    alias = self.join(connection, reuse=reuse)
     23            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     24  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1133, in join
     25    join.filtered_relation = filtered_relation.resolve_expression(
     26                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     27  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/query_utils.py", line 463, in resolve_expression
     28    clone.resolved_condition = query.build_filter(
     29                               ^^^^^^^^^^^^^^^^^^^
     30  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1458, in build_filter
     31    return self._add_q(
     32           ^^^^^^^^^^^^
     33  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1631, in _add_q
     34    child_clause, needed_inner = self.build_filter(
     35                                 ^^^^^^^^^^^^^^^^^^
     36  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1481, in build_filter
     37    lookups, parts, reffed_expression = self.solve_lookup_type(arg, summarize)
     38                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     39  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1293, in solve_lookup_type
     40    _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
     41                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     42  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/sql/query.py", line 1774, in names_to_path
     43    pathinfos = field.get_path_info(filtered_relation)
     44                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     45  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/fields/reverse_related.py", line 241, in get_path_info
     46    return self.field.get_reverse_path_info(filtered_relation)
     47           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     48  File "/home/younes/.local/share/virtualenvs/new-p1-back-ouzi8-CM/lib/python3.11/site-packages/django/db/models/fields/related.py", line 862, in get_reverse_path_info
     49    PathInfo(
     50  File "<string>", line 1, in <lambda>
     51RecursionError: maximum recursion depth exceeded while calling a Python object
     52}}}
     53
Back to Top