• cocohelp_outline
    53 posts
    5 years ago

    hi all, as topic, I just want make a sub category is public but parent or others is still private ?

  • cocohelp_outline
    53 posts
    5 years ago

    another issue

    RecursionError at /categories/
    maximum recursion depth exceeded in comparison
    Request Method: GET
    Request URL:    http://127.0.0.1:8000/categories/?ref=login
    Django Version: 2.2.12
    Exception Type: RecursionError
    Exception Value:    
    maximum recursion depth exceeded in comparison
    Exception Location: lib/python3.6/site-packages/rest_framework/relations.py in __init__, line 254
    Python Executable:  /bin/python
    Python Version: 3.6.5
    

    what is max node level of category? anyone help ? thanks

  • cocohelp_outline
    53 posts
    5 years ago

    I got a solution ...

    sys.setrecursionlimit(1500)
    

    stackoverflow.com/questions/3323001/what-is-the-maximum-recursion-depth-in-python-and-how-to-increase-it

  • rafalplens
    5 years ago

    hi all, as topic, I just want make a sub category is public but parent or others is still private ?

    Category visibility cascades. This means you need to be able to see contents of parent category to be able to see its sub categories.

Search
  • Enter search query (at least 3 characters).

Your options