Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend committed Oct 25, 2024
1 parent 0640471 commit c95fb78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ PLUGINS = [
]

PLUGINS_CONFIG = {
"netbox_ptov": {},
"netbox_ptov": {'top_level_menu': False},
}
```

## Credits

Based on the NetBox plugin tutorial:

- [demo repository](https://github.com/netbox-community/netbox-plugin-demo)
- [tutorial](https://github.com/netbox-community/netbox-plugin-tutorial)

This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [`netbox-community/cookiecutter-netbox-plugin`](https://github.com/netbox-community/cookiecutter-netbox-plugin) project template.
3 changes: 0 additions & 3 deletions netbox_ptov/_version.py.obsolete

This file was deleted.

5 changes: 3 additions & 2 deletions netbox_ptov/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
import json


def golab(request: json):
def golab(request: forms.golabForm) -> django.http.HttpResponse:
"""Pass the input fields from the golabForm instance to the dcnodatg.p_to_v function and return the results as an HttpResponse"""

if request.method == 'POST':
form = forms.golabForm(request.POST)
if form.is_valid():
Expand Down Expand Up @@ -53,7 +55,6 @@ class gns3srvEditView(generic.ObjectEditView):
"""A class to represent the edit view of a gns3srv object.
=============================================================
Attributes
----------
queryset
Expand Down

0 comments on commit c95fb78

Please sign in to comment.