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

Custom urls routing #40

Open
Edke opened this issue Feb 1, 2017 · 2 comments
Open

Custom urls routing #40

Edke opened this issue Feb 1, 2017 · 2 comments

Comments

@Edke
Copy link

Edke commented Feb 1, 2017

Hello.

I would like to have a control over routing of urls so they don't depend on names of apps and models. Is that possible ?

@asifpy
Copy link
Owner

asifpy commented Feb 2, 2017

How about using custom_postfix_url, which will allow you to add your custom url. You can Check this Example for custom url.

Feel free to close this when you don't have anymore questions.

@polwel
Copy link

polwel commented Mar 2, 2017

Hi,
I am a django beginner, but I am very glad I have come across your utility.

I agree however that the hardcoded appname-model-action syntax is a bit limiting. For instance, if one's app's urls are namespaced like so:

url(r'^myapp/', include('myapp.urls', namespace='myapp'))

Then all the views inside that app will not be accessible via your url naming scheme.

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

3 participants