"Fossies" - the Fresh Open Source Software Archive

Member "seahub-7.1.0-pro/seahub/contacts/migrations/0001_initial.py" (30 Dec 2019, 872 Bytes) of package /linux/www/seahub-7.1.0-pro.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # -*- coding: utf-8 -*-
    2 # Generated by Django 1.11.11 on 2018-03-21 08:42
    3 
    4 
    5 from django.db import migrations, models
    6 import seahub.base.fields
    7 
    8 
    9 class Migration(migrations.Migration):
   10 
   11     initial = True
   12 
   13     dependencies = [
   14     ]
   15 
   16     operations = [
   17         migrations.CreateModel(
   18             name='Contact',
   19             fields=[
   20                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
   21                 ('user_email', seahub.base.fields.LowerCaseCharField(db_index=True, max_length=255)),
   22                 ('contact_email', seahub.base.fields.LowerCaseCharField(max_length=255)),
   23                 ('contact_name', models.CharField(blank=True, default=b'', max_length=255, null=True)),
   24                 ('note', models.CharField(blank=True, default=b'', max_length=255, null=True)),
   25             ],
   26         ),
   27     ]