Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

[models] NetworkField: fix conversion of None values #95

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

okraits
Copy link
Member

@okraits okraits commented Feb 5, 2020

Fixes #94

@okraits okraits force-pushed the tdt-fix-networkfield-conversion branch 2 times, most recently from aadbcf1 to 97ee7a3 Compare February 5, 2020 11:27
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@okraits could you modify the first line of the commit message as follows please?

[models] NetworkField: Fix conversion of None values #94

@okraits okraits force-pushed the tdt-fix-networkfield-conversion branch from 97ee7a3 to 2c44ccf Compare February 5, 2020 12:00
@okraits okraits force-pushed the tdt-fix-networkfield-conversion branch from 2c44ccf to 2a265a1 Compare February 5, 2020 12:04
@coveralls
Copy link

coveralls commented Feb 5, 2020

Pull Request Test Coverage Report for Build 361

  • 1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 99.797%

Changes Missing Coverage Covered Lines Changed/Added Lines %
django_ipam/base/fields.py 1 2 50.0%
Totals Coverage Status
Change from base Build 357: -0.2%
Covered Lines: 492
Relevant Lines: 493

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 362

  • 1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 99.797%

Changes Missing Coverage Covered Lines Changed/Added Lines %
django_ipam/base/fields.py 1 2 50.0%
Totals Coverage Status
Change from base Build 357: -0.2%
Covered Lines: 492
Relevant Lines: 493

💛 - Coveralls

@okraits
Copy link
Member Author

okraits commented Feb 5, 2020

@nemesisdesign Should I add a test for that?

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@okraits that would be great! Can you?

@okraits
Copy link
Member Author

okraits commented Feb 6, 2020

@okraits that would be great! Can you?

I will try to come up with a test later today.

@nemesifier
Copy link
Member

I'm merging since it's just one line but if you do find a way to test please send it

@nemesifier nemesifier merged commit b819be2 into openwisp:master Feb 6, 2020
@okraits
Copy link
Member Author

okraits commented Feb 6, 2020

Ok - I just don't have the time to look into this now 😢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting errors when running a migration for a NetworkField on PostgreSQL
3 participants