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

Use django-link for redirect_to field #28

Open
hedleyroos opened this issue Jan 24, 2017 · 1 comment
Open

Use django-link for redirect_to field #28

hedleyroos opened this issue Jan 24, 2017 · 1 comment

Comments

@hedleyroos
Copy link
Contributor

django-link allows objects or views to be the target. It is more flexible than a string as redirect target.

@qoda
Copy link
Contributor

qoda commented Jan 26, 2017

String was first pass and needs to be replaced, agree. I would rather suggest we redirect to the absolute_url of an object defined by a generic foreignkey (of which it could be a django-link object). See django-navbuilder for an example of what I mean in models.MenuItem

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

No branches or pull requests

2 participants