Skip to content
Discussion options

You must be logged in to vote

I found the line causing the issue: default_return_url

class CredentialBulkDeleteView(generic.BulkDeleteView):
    queryset = models.Credential.objects.all()
    table = tables.CredentialTable
    default_return_url = 'netdoc:credential_list'
    filterset = filtersets.CredentialFilterSet

The I missed "plugins", the right line is:

    default_return_url = 'plugins:netdoc:credential_list'

For some reason netbox is hiding the exceptions so it wasn't easy to find what was going on.

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@candlerb
Comment options

@dainok
Comment options

@candlerb
Comment options

Comment options

You must be logged in to vote
1 reply
@candlerb
Comment options

Comment options

You must be logged in to vote
9 replies
@candlerb
Comment options

@candlerb
Comment options

@dainok
Comment options

@candlerb
Comment options

@dainok
Comment options

Comment options

You must be logged in to vote
2 replies
@jeremystretch
Comment options

@dainok
Comment options

Answer selected by dainok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants