django-crudbuilder icon indicating copy to clipboard operation
django-crudbuilder copied to clipboard

Custom urls routing

Open Edke opened this issue 8 years ago • 2 comments

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 ?

Edke avatar Feb 01 '17 16:02 Edke

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.

asifpy avatar Feb 02 '17 05:02 asifpy

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.

polwel avatar Mar 02 '17 10:03 polwel