We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.5.1
4.1.4
3.12.7
from dcim.models import Site from extras.scripts import Script class BranchDebug(Script): class Meta: name = "branch debugging" def run(self, data, commit): dummies = Site.objects.filter(name__startswith='dummy').count() newsite = f'dummy{dummies+1}' site = Site(name=newsite, slug=newsite) site.full_clean() site.save() self.log_success("Created new site!", obj=site)
A new site should be created in the branch
A new site is created in the main branch. So the new branch shows it as "changes behind".
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Plugin Version
0.5.1
NetBox Version
4.1.4
Python Version
3.12.7
Steps to Reproduce
Expected Behavior
A new site should be created in the branch
Observed Behavior
A new site is created in the main branch. So the new branch shows it as "changes behind".
The text was updated successfully, but these errors were encountered: