Re: Reverse function with url namespacecing (for api versioning)

2018-12-21 Thread Gonzalo Amadio
If I do not put app_name inside apps url.py, finally the reverse is as I wanted El sáb., 22 dic. 2018 3:07, Gonzalo Amadio escribió: > I think (i am not sure if its correct) I make it work like this. In my > main urls.py > > api_v1 =[ > url(r'^api/v1/', > include('my_project.apps.agr

Re: Reverse function with url namespacecing (for api versioning)

2018-12-21 Thread Gonzalo Amadio
I think (i am not sure if its correct) I make it work like this. In my main urls.py api_v1 =[ url(r'^api/v1/', include('my_project.apps.agreements.api_v1.urls')), url(r'^api/v1/', include('my_project.apps.authe

Reverse function with url namespacecing (for api versioning)

2018-12-20 Thread Gonzalo Amadio
I want to version my api, but cannot make reverse function work. I am following the namespace versioning schema proposed in the DRF website : namespaceversioning I have one app called *authentication* and inside