Spaces:
Sleeping
Sleeping
Download authentication/migrations/0002_useractivationcode.py from FerdinandPyCode/lambda_hf_v2: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/61327a7d02f0e995725d02a71a0011d899ca699d/authentication/migrations/0002_useractivationcode.py
- Command line
-
hf download hf://spaces/FerdinandPyCode/lambda_hf_v2@61327a7d02f0e995725d02a71a0011d899ca699d/authentication/migrations/0002_useractivationcode.py
-
curl -L -o 0002_useractivationcode.py https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/61327a7d02f0e995725d02a71a0011d899ca699d/authentication/migrations/0002_useractivationcode.py
805 Bytes
| # Generated by Django 4.2.5 on 2023-09-15 21:53 | |
| from django.conf import settings | |
| from django.db import migrations, models | |
| import django.db.models.deletion | |
| class Migration(migrations.Migration): | |
| dependencies = [ | |
| ('authentication', '0001_initial'), | |
| ] | |
| operations = [ | |
| migrations.CreateModel( | |
| name='UserActivationCode', | |
| fields=[ | |
| ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
| ('activation_code', models.CharField(max_length=20, null=True)), | |
| ('usable', models.BooleanField(default=True)), | |
| ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), | |
| ], | |
| ), | |
| ] | |