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

Base url configuration #6

Closed
itao opened this issue Apr 23, 2013 · 4 comments
Closed

Base url configuration #6

itao opened this issue Apr 23, 2013 · 4 comments

Comments

@itao
Copy link

itao commented Apr 23, 2013

Is there a way to configure it for when my nav items' url doesn't start at root, but with a fixed base pattern like like '/foo/section1' and '/foo/section2'?

@hellysmile
Copy link
Owner

@itao, if you are using https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns you can not get non-root/non-absolut urls.

Can you show your full example? If it really makes a sense i will implement this feature...

@itao
Copy link
Author

itao commented Apr 23, 2013

I'm building an app for teacher to create rubrics, checklists, or notes,
but each item is associated to a specific class. So the URL pattern I'm
using is 'classes/<class_id>/rubric/<rubric_id>', and similarly for
checklist and notes. My navigation items are the tasks that can be
performed, rather than which class is currently selected.

On Tue, Apr 23, 2013 at 5:39 AM, hellysmile [email protected]:

@itao https://github.com/itao if you are using
https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patternsyou can not get non-root/non-absolut urls.

Can you show your full example, if it really makes a sense i will
implement this feature...


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-16848493
.

@hellysmile
Copy link
Owner

@itao, i can not understnad what directly now works wrong for you

@hellysmile
Copy link
Owner

i have added your request to my roadmap #9

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