Source

django-admin-tools / admin_tools / dashboard / migrations / 0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py

Diff from to

File admin_tools/dashboard/migrations/0003_auto__add_unique_dashboardpreferences_dashboard_id_user.py

             'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
         },
         user_model: {
-            'Meta': {'object_name': 'User'},
+            'Meta': {'object_name': user_model.split('.')[1]},
             'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
             'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
             'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),