[Answer]-Django url pattern not registering

1👍

By defining (?P<name>.+) in your URL, you’re defining a kwarg called name. Try it with a kwarg;

reverse("myapp_getdata", kwargs={
    'name': 'some/arbitrary/path_-_with_varying_characters.extension'
})

Leave a comment