- Fixed initial migration which didn’t work when the custom user model name was not “User”.
- Use User._meta.model_name instead of deprecated User._meta.module_name