Closed Bug 1520050 Opened 1 year ago Closed 1 year ago

Remove custom managers from the User model

Categories

(Webtools :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jotes, Assigned: jotes, Mentored)

References

Details

When Pontoon developers want to create a new migration, they get the following message:

IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/django/contrib/auth/migrations/0009_auto_20190114_2311.py

It's because at some point in the past, We decided to add two custom managers to Django User Model.
Those changes send a signal to create a migration for Django Auth App.

It's an unwanted side-effect.
We decided to remove those custom managers from Django User Model and move related code into separate modules.

Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.