Skip to content

Conversation

@knbk
Copy link
Contributor

@knbk knbk commented Dec 8, 2015

This allows users in Django 1.9+ to include the authentication urls
without specifying the namespace, as in:

urlpatterns = [
    ...
    url(r'^auth/', include('rest_framework.urls'))
]

The urls will still be namespaced, but will use the namespace set by the app_name.

This allows users in Django 1.9+ to include the authentication urls
without specifying the namespace, as in:

    urlpatterns = [
        ...
        url(r'^auth/', include('rest_framework.urls'))
    ]
@xordoquy
Copy link
Contributor

xordoquy commented Dec 8, 2015

Including Django doc reference: https://docs.djangoproject.com/en/1.9/topics/http/urls/#id4

@xordoquy xordoquy added this to the 3.3.2 Release milestone Dec 8, 2015
xordoquy added a commit that referenced this pull request Dec 8, 2015
Add app_name to rest_framework.urls.
@xordoquy xordoquy merged commit e831753 into encode:master Dec 8, 2015
@xordoquy
Copy link
Contributor

xordoquy commented Dec 8, 2015

Thanks for the PR !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants