mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 23:42:14 +00:00
Removed unecessary for loop. Changed registration complete text. Profile model changes.
This commit is contained in:
20
RIGS/migrations/0005_auto_20141104_1619.py
Normal file
20
RIGS/migrations/0005_auto_20141104_1619.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('RIGS', '0004_organisation'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='profile',
|
||||
name='initials',
|
||||
field=models.CharField(blank=True, max_length=5, unique=True, null=True),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
@@ -6,7 +6,7 @@ import reversion
|
||||
|
||||
# Create your models here.
|
||||
class Profile(AbstractUser):
|
||||
initials = models.CharField(max_length=5, unique=True)
|
||||
initials = models.CharField(max_length=5, unique=True, null=True, blank=True)
|
||||
phone = models.CharField(max_length=13, null=True, blank=True)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user