from django.conf.urls import include, url

from . import views

urlpatterns = (
    url(
        '^create-datastore-backup$',
        views.create_datastore_backup,
        name="create_datastore_backup"
    ),
)

from django.conf.urls import url

from . import views

urlpatterns = (
    url(
        '^create-datastore-backup/?$',
        views.create_datastore_backup,
        name="create_datastore_backup"
    ),
)

Fix the backup url to match the docs (and retain backwards compatibility)
Fix the backup url to match the docs (and retain backwards compatibility)

- from django.conf.urls import include, url
+ from django.conf.urls import url
  
  from . import views
  
  urlpatterns = (
      url(
-         '^create-datastore-backup$',
+         '^create-datastore-backup/?$',
          views.create_datastore_backup,
          name="create_datastore_backup"
      ),
  )
  
Fix the backup url to match the docs (and retain backwards compatibility)
## Code Before:
from django.conf.urls import include, url

from . import views

urlpatterns = (
    url(
        '^create-datastore-backup$',
        views.create_datastore_backup,
        name="create_datastore_backup"
    ),
)

## Instruction:
Fix the backup url to match the docs (and retain backwards compatibility)
## Code After:
from django.conf.urls import url

from . import views

urlpatterns = (
    url(
        '^create-datastore-backup/?$',
        views.create_datastore_backup,
        name="create_datastore_backup"
    ),
)
