Kaydet (Commit) 4538cbf1 authored tarafından Tim Graham's avatar Tim Graham

Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated.

Without this migration, the auth signal handlers will fail if migrating
only auth.
üst f3bc7c54
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('auth', '0005_alter_user_last_login_null'),
('contenttypes', '0002_remove_content_type_name'),
]
operations = [
# Ensure the contenttypes migration is applied before sending
# post_migrate signals (which create ContentTypes).
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment