#23163: makemigrations currently detecting changes in help text on auth.User
------------------------------+----------------------------------------
Reporter: dpn | Owner: andrewgodwin
Type: Bug | Status: closed
Component: contrib.auth | Version: 1.7-rc-2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+----------------------------------------
Changes (by timgraham):
* needs_better_patch: => 0
* component: Database layer (models, ORM) => contrib.auth
* needs_tests: => 0
* needs_docs: => 0
* type: Uncategorized => Bug
Old description:
> 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),
> ),
> ]
> ```
New description:
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),
),
]
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/23163#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.8fb02e1571d72160f46c3f2b819b3e1f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.