Commit 2fa7b0aa authored by juga's avatar juga
Browse files

Merge branch 'issue_migration_reason' into 'master'

Rename reason to address in admin

See merge request !104
parents 5a268490 317f7a59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class NoteModelAdmin(admin.ModelAdmin):

@admin.register(GitlabAccountRequest)
class GitlabAccountRequestAdmin(admin.ModelAdmin):
    list_display = ('username', 'email', 'reason', 'mod_comment',
    list_display = ('username', 'email', 'address', 'mod_comment',
                    'reviewer_status', 'rejection_reason')
    list_editable = ('mod_comment', 'reviewer_status', 'rejection_reason')
    formfield_overrides = {
+0 −18
Original line number Diff line number Diff line
# Generated by Django 3.1.6 on 2024-02-13 12:03

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('anonticket', '0007_add_rejection_reason'),
    ]

    operations = [
        migrations.AlterField(
            model_name='note',
            name='body',
            field=models.TextField(help_text='Type your note body here.\n            If you can, please add a patch too.\n            To create a <a href="https://git-scm.com/docs/git-format-patch">git patch\n            </a>, you can run these commands in your terminal:\n            <pre>\n            git clone &lt;project_url&gt;\n            cd &lt;project_url&gt;\n            git checkout -b issue&lt;issue_number_or_short_description&gt;\n            # do your changes\n            git add/rm &lt;files with your changes&gt;\n            git commit\n            # Create the patch:\n            git diff &lt;commitid1&gt; &lt;commitid2&gt; &gt; &lt;patch_filename&gt;.patch\n            </pre>\n            And paste the content of the patch. You\n            can use <a href=\'https://docs.gitlab.com/ee/user/markdown.html\'\n            target="_blank">\n            GitLab Flavored Markdown (GFM)</a> on this form.', verbose_name='Note Contents'),
        ),
    ]
+22 −0
Original line number Diff line number Diff line
# Generated by Django 3.1.6 on 2024-02-13 12:03

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('anonticket', '0008_replace_reason_address'),
    ]

    operations = [
        migrations.AlterField(
            model_name='note',
            name='body',
            field=models.TextField(
                help_text='Type your note body here.\n            If you can, please add a patch too.\n            To create a <a href="https://git-scm.com/docs/git-format-patch">git patch\n            </a>, you can run these commands in your terminal:\n            <pre>\n            git clone &lt;project_url&gt;\n            cd &lt;project_url&gt;\n            git checkout -b issue&lt;issue_number_or_short_description&gt;\n            # do your changes\n            git add/rm &lt;files with your changes&gt;\n            git commit\n            # Create the patch:\n            git diff &lt;commitid1&gt; &lt;commitid2&gt; &gt; &lt;patch_filename&gt;.patch\n            </pre>\n            And paste the content of the patch. You\n            can use <a href=\'https://docs.gitlab.com/ee/user/markdown.html\'\n            target="_blank">\n            GitLab Flavored Markdown (GFM)</a> on this form.',
                verbose_name='Note Contents',
                max_length=5000,
            ),
        ),
    ]
+18 −0
Original line number Diff line number Diff line
# Generated by Django 3.1.6 on 2024-03-14 10:38

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('anonticket', '0009_replace_note_description'),
    ]

    operations = [
        migrations.AlterField(
            model_name='issue',
            name='description',
            field=models.TextField(max_length=5000),
        ),
    ]