forked from ubccr/coldfront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #351 from fasrc/ajk_fix_rebalance
Fix rebalance
- Loading branch information
Showing
9 changed files
with
211 additions
and
5 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
coldfront/core/department/migrations/0005_historicaldepartmentmember_detail.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-12-09 17:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('department', '0004_historicaldepartment_historicaldepartmentmember'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='historicaldepartmentmember', | ||
name='detail', | ||
field=models.CharField(blank=True, help_text='Additional details about the affiliation (e.g. Graduate Student)', max_length=255, null=True), | ||
), | ||
] |
34 changes: 34 additions & 0 deletions
34
coldfront/core/project/migrations/0007_alter_historicalproject_description_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 4.2.11 on 2024-12-09 17:36 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('project', '0006_auto_20230515_1832'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='historicalproject', | ||
name='description', | ||
field=models.TextField(default='We do not have information about your research. Please provide a detailed description of your work.', validators=[django.core.validators.MinLengthValidator(10, 'The project description must be > 10 characters.')]), | ||
), | ||
migrations.AlterField( | ||
model_name='historicalproject', | ||
name='title', | ||
field=models.CharField(db_index=True, max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name='project', | ||
name='description', | ||
field=models.TextField(default='We do not have information about your research. Please provide a detailed description of your work.', validators=[django.core.validators.MinLengthValidator(10, 'The project description must be > 10 characters.')]), | ||
), | ||
migrations.AlterField( | ||
model_name='project', | ||
name='title', | ||
field=models.CharField(max_length=255, unique=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
coldfront/core/resource/migrations/0004_alter_resource_linked_resources.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-12-09 17:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('resource', '0003_auto_20231211_1732'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='resource', | ||
name='linked_resources', | ||
field=models.ManyToManyField(blank=True, to='resource.resource'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
coldfront/plugins/ifx/migrations/0006_coldfrontifxuser_preferredusername.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 4.2.11 on 2024-12-09 17:36 | ||
|
||
from django.conf import settings | ||
import django.contrib.auth.models | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ifxuser', '0006_useraffiliation_detail'), | ||
('ifx', '0005_auto_20211003_1153'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ColdfrontIfxUser', | ||
fields=[ | ||
('ifxuser_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), | ||
], | ||
options={ | ||
'db_table': 'ifx_coldfrontifxuser', | ||
}, | ||
bases=('ifxuser.ifxuser',), | ||
managers=[ | ||
('objects', django.contrib.auth.models.UserManager()), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='PreferredUsername', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('ifxid', models.CharField(max_length=255)), | ||
('preferred_username', models.CharField(max_length=255)), | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ifxreport
updated
from 272d4c to cf2a3e