mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Use consistent description types
This commit is contained in:
18
awx/main/migrations/0084_v360_token_description.py
Normal file
18
awx/main/migrations/0084_v360_token_description.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 2.2.4 on 2019-08-16 13:22
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0083_v360_job_branch_overrirde'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='oauth2accesstoken',
|
||||||
|
name='description',
|
||||||
|
field=models.TextField(blank=True, default=''),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -98,8 +98,7 @@ class OAuth2AccessToken(AbstractAccessToken):
|
|||||||
related_name="%(app_label)s_%(class)s",
|
related_name="%(app_label)s_%(class)s",
|
||||||
help_text=_('The user representing the token owner')
|
help_text=_('The user representing the token owner')
|
||||||
)
|
)
|
||||||
description = models.CharField(
|
description = models.TextField(
|
||||||
max_length=200,
|
|
||||||
default='',
|
default='',
|
||||||
blank=True,
|
blank=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user