[extensions-web/feature/custom-user-class: 2/2] users: prepare migration to custom User class
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/feature/custom-user-class: 2/2] users: prepare migration to custom User class
- Date: Sun, 22 May 2022 08:31:16 +0000 (UTC)
commit 36b196827509d87caceac441ff6dcd0af3e08020
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/users/__init__.py | 0
sweettooth/users/migrations/0001_initial.py | 12 ++++++++++++
sweettooth/users/migrations/__init__.py | 0
3 files changed, 12 insertions(+)
---
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]