Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support of nested URLs #733

Open
2 tasks done
imapanda opened this issue Oct 6, 2023 · 2 comments
Open
2 tasks done

[Feature] Add support of nested URLs #733

imapanda opened this issue Oct 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@imapanda
Copy link

imapanda commented Oct 6, 2023

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

It looks impossible to handle nested URLs like this :
/libraries/1/books/1/

What would work currently is if we separate urls into :
/libraries/1/
and
/books/1/

Describe the solution you'd like?

I tried to play with the function list_view_url inside generic.list.py and found out that reverse(self.__list_view_name,kwargs=self.kwargs) would kind of work but breaks others things.
It would be a good start to continue playing with this but i'm too new to this repo to help anyone.

Maybe someone understands my problem ! I'll be happy to provide more help/infos if needed :)

Kind regards

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@imapanda imapanda added the enhancement New feature or request label Oct 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.

@vanderzielj
Copy link

I just started playing with django-view-breadcrumbs a couple of hours ago so I am glad I stumbled onto this; I need to be able to do the same. In fact I would like the breadcrumb to go arbitrarily deep something like this:
/org/2/asset/5/system/4/component/12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants