forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 6
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 #32 from colaraz/hamza/EDE-444
add and update colaraz user profile fields
- Loading branch information
Showing
4 changed files
with
87 additions
and
12 deletions.
There are no files selected for viewing
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
49 changes: 49 additions & 0 deletions
49
openedx/features/colaraz_features/migrations/0002_auto_20200504_0145.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,49 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.28 on 2020-05-04 05:45 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('colaraz_features', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='colarazuserprofile', | ||
old_name='level_text', | ||
new_name='profile_strength_title', | ||
), | ||
migrations.RemoveField( | ||
model_name='colarazuserprofile', | ||
name='level_percentage', | ||
), | ||
migrations.AddField( | ||
model_name='colarazuserprofile', | ||
name='elgg_id', | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='colarazuserprofile', | ||
name='job_title', | ||
field=models.CharField(default='Student', max_length=100), | ||
), | ||
migrations.AddField( | ||
model_name='colarazuserprofile', | ||
name='profile_image_url', | ||
field=models.URLField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='colarazuserprofile', | ||
name='profile_strength_color', | ||
field=models.CharField(default='', max_length=20), | ||
), | ||
migrations.AddField( | ||
model_name='colarazuserprofile', | ||
name='profile_strength_width', | ||
field=models.CharField(default='0%', max_length=5), | ||
), | ||
] |
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