aboutsummaryrefslogblamecommitdiffstats
path: root/alphabetlearning/contrib/sites/migrations/0001_initial.py
blob: d6bb9e1188f0bc8ac60ff5718409101adf0d46f1 (plain) (tree)
1
2
3
4
5
6
7
8

                                               
                                  
                                        



                                      



                    


                               
                        
                    


                                                                                                                                                                              

                     



                                               
              


                                                                       

          
# Generated by Django 5.1.4 on 2024-12-31 15:26

import django.contrib.sites.models
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Site',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('domain', models.CharField(max_length=100, unique=True, validators=[django.contrib.sites.models._simple_domain_name_validator], verbose_name='domain name')),
                ('name', models.CharField(max_length=50, verbose_name='display name')),
            ],
            options={
                'verbose_name': 'site',
                'verbose_name_plural': 'sites',
                'db_table': 'django_site',
                'ordering': ['domain'],
            },
            managers=[
                ('objects', django.contrib.sites.models.SiteManager()),
            ],
        ),
    ]