klen / klen/mixer

Warning: Options.vitual_fields deprecated in Django 2.0

Open
#81 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
953
Forks
91
PR merge metrics
No merged PRs in 30d

Description

When use mixer with Django and pytest, some warnings appear:

RemovedInDjango20Warning: `Options.virtual_fields` is deprecated, use `private_fields` instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the Django integration for use of Options.virtual_fields and inspect how pytest surfaces the RemovedInDjango20Warning. Confirm the compatible replacement named in the warning, then run the relevant Django and pytest checks to verify the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.