Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#23163 closed Bug (fixed)

makemigrations currently detecting changes in help text on auth.User

Reported by: David Novakovic Owned by: Andrew Godwin
Component: contrib.auth Version: 1.7-rc-2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

Steps to reproduce:

  1. check out stable/1.7.x from github
  2. run makemigrations

The migration it wants to create is below:

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
        ('auth', '0001_initial'),
    ]

    operations = [
        migrations.AlterField(
            model_name='user',
            name='groups',
            field=models.ManyToManyField(help_text='The groups this user belongs to. A user will get all permissions granted to each of his/her group.', to=b'auth.Group', verbose_name='groups', blank=True),
        ),
        migrations.AlterField(
            model_name='user',
            name='user_permissions',
            field=models.ManyToManyField(help_text='Specific permissions for this user.', to=b'auth.Permission', verbose_name='user permissions', blank=True),
        ),
    ]

Change History (3)

comment:1 by Andrew Godwin <andrew@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 059f5d17c5fe92d6b4c5d189020ea59e9bed4472:

Fixed #23163: Align user help text with migrations

comment:2 by Andrew Godwin <andrew@…>, 10 years ago

In b2ab666aad269fbd6fc7a9999aa0e76e08744188:

[1.7.x] Fixed #23163: Align user help text with migrations

comment:3 by Tim Graham, 9 years ago

Component: Database layer (models, ORM)contrib.auth
Description: modified (diff)
Type: UncategorizedBug
Note: See TracTickets for help on using tickets.
Back to Top