netbox-community / netbox-plugin-tutorial

A tutorial on building custom plugins for NetBox v3.2+
90 stars 48 forks source link

Correct the URL in guides step 5 #3

Closed dankotrajkovic closed 2 years ago

dankotrajkovic commented 2 years ago

Near the bottom of the page for Step5 there is a section Test the Views that contains the following URL: http://localhost:8000/plugins/netbox-access-lists/access-lists/

Trying to open the URL provides the following error:

Using the URLconf defined in netbox.urls, Django tried these URL patterns, in this order:

[name='home']
search/ [name='search']
login/ [name='login']
logout/ [name='logout']
oauth/
circuits/
dcim/
extras/
ipam/
tenancy/
user/
virtualization/
wireless/
api/ [name='api-root']
api/circuits/
api/dcim/
api/extras/
api/ipam/
api/tenancy/
api/users/
api/virtualization/
api/wireless/
api/status/ [name='api-status']
api/docs/ [name='api_docs']
api/redoc/ [name='api_redocs']
^api/swagger(?P<format>.json|.yaml)$ [name='schema_swagger']
graphql/ [name='graphql']
media/<path:path>
media-failure/ [name='media_failure']
plugins/ access-lists/
api/plugins/
admin/background-tasks/
admin/plugins/
admin/
__debug__/
The current path, plugins/netbox-access-lists/access-lists/, didn’t match any of these.
jeremystretch commented 2 years ago

Thanks for the report! Should be fixed now.