jazzmin as a more beauty admin panel
This commit is contained in:
parent
8ea5c87c9c
commit
aca1c3c3fa
117 changed files with 4 additions and 0 deletions
46
app/rescuer/migrations/0001_initial.py
Normal file
46
app/rescuer/migrations/0001_initial.py
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Generated by Django 4.2.2 on 2023-07-08 20:30
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
import uuid
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="Rescuer",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.UUIDField(
|
||||
default=uuid.uuid4,
|
||||
editable=False,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
),
|
||||
),
|
||||
("first_name", models.CharField(max_length=200)),
|
||||
("last_name", models.CharField(max_length=200)),
|
||||
("street", models.CharField(max_length=200)),
|
||||
("street_number", models.CharField(max_length=20)),
|
||||
("city", models.CharField(max_length=200)),
|
||||
("zip_code", models.CharField(max_length=200)),
|
||||
("phone", models.CharField(max_length=200)),
|
||||
(
|
||||
"user",
|
||||
models.ForeignKey(
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
]
|
0
app/rescuer/migrations/__init__.py
Normal file
0
app/rescuer/migrations/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue