-
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.
Add plugin for rapid generation of staff pages - require only certain…
… fields (#295)
- Loading branch information
1 parent
d7e0252
commit 2c8c766
Showing
2 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
apps/tup-cms/src/apps/staff_profile/migrations/0004_require_only_certain_fields.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,62 @@ | ||
# Generated by Django 3.2.18 on 2023-08-11 15:44 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import filer.fields.image | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), | ||
('staff_profile', '0003_reduce_first_last_name_length'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='department', | ||
field=models.CharField(blank=True, max_length=100), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='education', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='experience', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='memberships', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='phone', | ||
field=models.CharField(blank=True, max_length=50, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='photo', | ||
field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='projects', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='publications', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='staffprofileplugin', | ||
name='research_areas', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
] |
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