You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/01/18 17:05:41 UTC

[airavata-django-portal] branch develop updated (d4d9c4d -> f7db978)

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git.


    from d4d9c4d  Merge branch 'staging' into develop
     add 4ef9337  Clarify how to get started with settings_local.py
     add da7b121  Merge branch 'staging'
     new 068ea53  AIRAVATA-3319 Default username_initialized to true for existing user profiles
     new f7db978  Merge branch 'AIRAVATA-3319-hotfix' into develop

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                                            | 14 ++++++++------
 .../apps/auth/migrations/0013_auto_20220118_1650.py  | 20 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 6 deletions(-)
 create mode 100644 django_airavata/apps/auth/migrations/0013_auto_20220118_1650.py

[airavata-django-portal] 02/02: Merge branch 'AIRAVATA-3319-hotfix' into develop

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit f7db9784e65cefb5bf0a19837d2e174603079e27
Merge: d4d9c4d 068ea53
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jan 18 12:03:15 2022 -0500

    Merge branch 'AIRAVATA-3319-hotfix' into develop

 README.md                                            | 14 ++++++++------
 .../apps/auth/migrations/0013_auto_20220118_1650.py  | 20 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 6 deletions(-)

[airavata-django-portal] 01/02: AIRAVATA-3319 Default username_initialized to true for existing user profiles

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 068ea53b17c8781f249e945670b14e7eb80c4d00
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jan 18 12:03:01 2022 -0500

    AIRAVATA-3319 Default username_initialized to true for existing user profiles
---
 .../apps/auth/migrations/0013_auto_20220118_1650.py  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/django_airavata/apps/auth/migrations/0013_auto_20220118_1650.py b/django_airavata/apps/auth/migrations/0013_auto_20220118_1650.py
new file mode 100644
index 0000000..fe52ef2
--- /dev/null
+++ b/django_airavata/apps/auth/migrations/0013_auto_20220118_1650.py
@@ -0,0 +1,20 @@
+# Generated by Django 3.2.10 on 2022-01-18 16:50
+
+from django.db import migrations
+
+
+def default_username_initialized(apps, schema_editor):
+    UserProfile = apps.get_model("django_airavata_auth", "UserProfile")
+    # Update all existing user's user_profiles to have username_initialized=True
+    UserProfile.objects.all().update(username_initialized=True)
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('django_airavata_auth', '0012_merge_20211210_2041'),
+    ]
+
+    operations = [
+        migrations.RunPython(default_username_initialized, migrations.RunPython.noop)
+    ]