Commit 412532d9 authored by Calum Mackervoy's avatar Calum Mackervoy Committed by Jean-Baptiste Pasquier

extended max_length for default_redirect_uri

parent a0dd459c
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2020-01-30 12:42
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_account', '0006_auto_20200121_1321'),
]
operations = [
migrations.AlterField(
model_name='ldpuser',
name='default_redirect_uri',
field=models.URLField(blank=True, help_text='A URL to redirect to (home page) when none other is provided in a request, e.g. on forgot password. This will be automatically updated on login', max_length=5000, null=True),
),
]
......@@ -64,7 +64,7 @@ class LDPUser(AbstractUser, Model):
},
)
# updated automatically on login - the default uri to redirect to if none has been passed
default_redirect_uri = models.URLField(blank=True, null=True, help_text='A URL to redirect to (home page) when none other is provided in a request, e.g. on forgot password. This will be automatically updated on login')
default_redirect_uri = models.URLField(max_length=5000, blank=True, null=True, help_text='A URL to redirect to (home page) when none other is provided in a request, e.g. on forgot password. This will be automatically updated on login')
class Meta:
verbose_name = _('user')
......
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