Open mammuth opened 7 years ago
@mammuth Hi Max. Did you manage to solve your dependency problem? Thanks.
@ikarapis no. I went over to this feature-similar app: https://github.com/Blueshoe/Django-Database-Anonymizer
Use Faker version 1.4.0
@mammuth @ikarapis try: pip install Faker==1.4.0
@peterkurishev When I try your suggestion I get Could not find a version that satisfies the requirement Faker==1.4.0
I have the same error. I tried updating Faker. There's no 1.4.0. I tried 1.0.7 and still see the same dependency error.
Meanwhile they fix the pip version you can install manually the latest tag and it will work git+https://github.com/BetterWorks/django-anonymizer.git@0.5.0.16-b
I wanted to test your management command, because I really like the method of keeping relations as they are and just faking a given set of values on the model instances.
Since it didn't work in the project I was working on, I tried installing and using it in a completely empty test-project.
I did:
pip install django-anonymizer
Then I tried importing anonymizer in the python interpreter:
To me it looks like django-anonymizer isn't properly working with Faker 0.7.3? Is this the case or am I doing something wrong here?
pip freeze:
Python 2.7.6
All installed packages are just (direct / indirect) dependencies of django-anonymizer