Skip to content

Versioning docs kind of outdated #6885

Closed
@knivets

Description

@knivets

https://www.django-rest-framework.org/api-guide/versioning/#urlpathversioning

URLPathVersioning and NamespaceVersioning examples use django.conf.urls implicitly and this function is likely to be deprecated (based on the description in the docs).

I'm opening this issue because I tried copy pasting the code and got an error and spend a couple minutes googling where to import the old style url function from. If we can't replace it with path we can at least replace it with re_path. Let me know which one should I use and I'll open a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions