-
Notifications
You must be signed in to change notification settings - Fork 0
Pluralized URL slugs for Custom Object Types #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1ea9c5c
Merge pull request #159 from netboxlabs/feature
bctiemann 79ad9c6
161 fix multi object field
arthanson a841e1d
161 fix multi object field
arthanson b5d2d03
Merge pull request #162 from netboxlabs/161-multi-object-3
bctiemann 0f477a4
Check if unique flag raise validation error if non unique data
arthanson c111f86
NPL-411 raise validation error if using reserved names for fields
arthanson 962de13
Merge pull request #163 from netboxlabs/npl-389-unique
bctiemann 8abaefa
Merge pull request #164 from netboxlabs/NPL-411-reserved-names
bctiemann 1f0197b
Revert "Check if unique flag raise validation error if non unique data"
bctiemann 1bc72cd
Update docs for 0.2.0
mrmrcoleman 1178246
Merge pull request #167 from netboxlabs/revert-163-npl-389-unique
bctiemann 91335ba
NPL-389 fix unique check
arthanson 636d67d
Merge pull request #168 from netboxlabs/0.2.0-docs
mrmrcoleman a850a9c
Merge pull request #170 from netboxlabs/npl-389-unique-3
bctiemann b311f7b
Bump version to 0.2.0 in pyproject.toml
bctiemann 34fb653
174 fix delete of CO on detail page
arthanson 3216a93
174 fix delete of CO on detail page
arthanson 1cf0c80
Merge pull request #175 from netboxlabs/174-delete
bctiemann f2e2da1
Merge pull request #173 from netboxlabs/bump-pyproject-version
bctiemann 7965692
Add verbose_name and slug fields with help text
bctiemann 80c9110
Change all uses of custom_object_type.name to use slug in urls or ver…
bctiemann 5c0e7e8
Fix tests
bctiemann cbeff30
Merge branch 'feature' into verbose-plural-name-slug
bctiemann fdb3dd8
Add new COT fields to serializer
bctiemann 700af72
Merge branch 'feature' into verbose-plural-name-slug
bctiemann aa38672
Make slug non-nullable and remake migrations
bctiemann 1c8be45
Add CustomObjectType.name validation
bctiemann f991386
Clean up display_name
bctiemann b523424
Fix tests
bctiemann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It says lowercased but there is no validation or conversion on this, should we enforce that?