new apps.lyric.urls, .tests.test_views files to test & execute mock email sending; apps.lyric.models, .tests.test_models now test & execute unique token autogen to integrate w. magic link login using only email; core.settings updated w. new urlpatterns to accommodate
This commit is contained in:
21
src/apps/lyric/migrations/0002_token.py
Normal file
21
src/apps/lyric/migrations/0002_token.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Generated by Django 6.0 on 2026-01-30 20:10
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('lyric', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Token',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('email', models.EmailField(max_length=254)),
|
||||
('uid', models.UUIDField()),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user