django-media-tree icon indicating copy to clipboard operation
django-media-tree copied to clipboard

No support for custom User model

Open bartTC opened this issue 10 years ago • 0 comments

media_tree models and migrations need to use settings.AUTH_USER_MODEL, otherwise upon migration you'll get:

CommandError: System check identified some issues:

ERRORS:
media_tree.FileNode.created_by: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
        HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
media_tree.FileNode.modified_by: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
        HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.

bartTC avatar Mar 19 '15 11:03 bartTC