[extensions-web/feature/custom-user-class] users: prepare migration to custom User class




commit 89c2f589877857e55032cc0a69aabd7dda7349ad
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun May 22 12:22:53 2022 +0400

    users: prepare migration to custom User class
    
    We need to apply empty initial migration before going forward
    
    See-Also: 
https://docs.djangoproject.com/en/3.2/topics/auth/customizing/#changing-to-a-custom-user-model-mid-project
    See-Also: https://code.djangoproject.com/ticket/25313

 sweettooth/settings.py                      |  1 +
 sweettooth/users/__init__.py                |  0
 sweettooth/users/migrations/0001_initial.py | 12 ++++++++++++
 sweettooth/users/migrations/__init__.py     |  0
 4 files changed, 13 insertions(+)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index bba1ca4..bf8ad63 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -52,6 +52,7 @@ INSTALLED_APPS = (
     'sweettooth.review',
     'sweettooth.errorreports',
     'sweettooth.templates',
+    'sweettooth.users',
 
     'django.contrib.admin',
 )
diff --git a/sweettooth/users/__init__.py b/sweettooth/users/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/sweettooth/users/migrations/0001_initial.py b/sweettooth/users/migrations/0001_initial.py
new file mode 100644
index 0000000..34c177f
--- /dev/null
+++ b/sweettooth/users/migrations/0001_initial.py
@@ -0,0 +1,12 @@
+# Generated by Django 3.2.13 on 2022-05-21 17:58
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+    ]
+
+    operations = [
+    ]
diff --git a/sweettooth/users/migrations/__init__.py b/sweettooth/users/migrations/__init__.py
new file mode 100644
index 0000000..e69de29


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]