GithubHelp home page GithubHelp logo

Comments (1)

pspdbx avatar pspdbx commented on July 27, 2024

A little more context.. we see this bug in netbox-bgp versions 0.3.8 and 0.3.9. I haven't tested other versions. But this bug doesn't seem to be there in 0.3.5.

In [3]: nb.status()
Out[3]:
{'django-version': '3.2',
 'installed-apps': {'cacheops': '5.0.1',
  'debug_toolbar': '3.2.1',
  'django_filters': '2.4.0',
  'django_prometheus': '2.1.0',
  'django_rq': '2.4.1',
  'django_tables2': '2.3.4',
  'drf_yasg': '1!0.0.0.dev0+noscm.0000017b0cd4e01a',
  'mptt': '0.12.0',
  'netbox_bgp': '0.3.5',
  'rest_framework': '3.12.4',
  'taggit': '1.4.0',
  'timezone_field': '4.1.2'},
 'netbox-version': '2.11.2',
 'plugins': {'netbox_bgp': '0.3.5'},
 'python-version': '3.8.8+',
 'rq-workers-running': 0}

In [4]: foo = nb.plugins.bgp.asn.get(number=12345)

In [5]: foo.description
Out[5]: 'deleteme'

In [6]: foo.description = 'asdf'

In [7]: foo.save()
Out[7]: True

In [8]: foo = nb.plugins.bgp.asn.get(number=12345)

In [9]: foo.description
Out[9]: 'asdf'

from netbox-bgp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.