Commit a95bb760 authored by Calum Mackervoy's avatar Calum Mackervoy

default_redirect_uri as CharField

parent a5e249c2
Pipeline #7179 passed with stage
in 27 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2020-01-30 12:51
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djangoldp_account', '0007_auto_20200130_1242'),
]
operations = [
migrations.AlterField(
model_name='ldpuser',
name='default_redirect_uri',
field=models.CharField(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(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')
default_redirect_uri = models.CharField(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