question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix system check failure on Django 3.1: (fields.W903) NullBooleanField is deprecated.

See original GitHub issue

eg from https://travis-ci.org/github/dj-stripe/dj-stripe/jobs/693027232

E           djstripe.Account.livemode: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
E           	HINT: Use BooleanField(null=True) instead.
E           djstripe.ApplicationFee.livemode: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
E           	HINT: Use BooleanField(null=True) instead.
E           djstripe.ApplicationFeeRefund.livemode: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
E           	HINT: Use BooleanField(null=True) instead.

Currently muted as part of #1173, but we should fix properly.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
anuziscommented, Nov 19, 2020

Any update?

1reaction
anuziscommented, Nov 19, 2020

@trey Perfect! Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django-Oscar 3.1.6 Frobshop NullBooleanField warning
W903 ) NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0. HINT: Use BooleanField( ...
Read more >
System check framework | Django documentation
W903 : NullBooleanField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0. This check appeared in Django...
Read more >
Stop using NullBooleanField - Code Review Doctor - Medium
Even though NullBooleanField was more explicit and a more of an accurate name. With this deprecation three classes are impacted: django.models.
Read more >
Evaluating Django-Oscar, a F/OSS Shopping Cart - Mike Slinn
WARNINGS: catalogue.ProductAttributeValue.value_boolean: (fields.W903) NullBooleanField is deprecated. Support for it (except in historical ...
Read more >
Django 3.2 update (!31) · Merge requests - GitLab
This will need fixing before move to Django 4: WARNINGS: iar.Asset.personal_data: (fields.W903) NullBooleanField is deprecated. Support for it (except in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found