89 lines
3.2 KiB
Python
89 lines
3.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.8 on 2018-03-01 14:20
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
replaces = [
|
|
('clicrdv', '0001_initial'),
|
|
('clicrdv', '0002_clicrdv_group_id'),
|
|
('clicrdv', '0003_auto_20160920_0903'),
|
|
('clicrdv', '0004_newclicrdv'),
|
|
('clicrdv', '0005_auto_20161218_1701'),
|
|
('clicrdv', '0006_auto_20170920_0951'),
|
|
]
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('base', '0002_auto_20151009_0326'),
|
|
('contenttypes', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='ClicRdv',
|
|
fields=[
|
|
(
|
|
'id',
|
|
models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
|
),
|
|
('title', models.CharField(max_length=50, verbose_name='Title')),
|
|
('slug', models.SlugField(verbose_name='Identifier', unique=True)),
|
|
('description', models.TextField(verbose_name='Description')),
|
|
(
|
|
'log_level',
|
|
models.CharField(
|
|
choices=[
|
|
('NOTSET', 'NOTSET'),
|
|
('DEBUG', 'DEBUG'),
|
|
('INFO', 'INFO'),
|
|
('WARNING', 'WARNING'),
|
|
('ERROR', 'ERROR'),
|
|
('CRITICAL', 'CRITICAL'),
|
|
],
|
|
default='INFO',
|
|
max_length=10,
|
|
verbose_name='Log Level',
|
|
),
|
|
),
|
|
(
|
|
'server',
|
|
models.CharField(
|
|
choices=[
|
|
('www.clicrdv.com', 'Production (www.clicrdv.com)'),
|
|
('sandbox.clicrdv.com', 'SandBox (sandbox.clicrdv.com)'),
|
|
],
|
|
default='sandbox.clicrdv.com',
|
|
max_length=64,
|
|
verbose_name='Server',
|
|
),
|
|
),
|
|
('group_id', models.IntegerField(default=0, verbose_name='Group Id')),
|
|
('apikey', models.CharField(max_length=64, verbose_name='API Key')),
|
|
('username', models.CharField(max_length=64, verbose_name='Username')),
|
|
('password', models.CharField(max_length=64, verbose_name='Password')),
|
|
(
|
|
'websource',
|
|
models.CharField(blank=True, max_length=64, null=True, verbose_name='Web source'),
|
|
),
|
|
(
|
|
'default_comment',
|
|
models.CharField(blank=True, max_length=250, null=True, verbose_name='Default comment'),
|
|
),
|
|
(
|
|
'users',
|
|
models.ManyToManyField(
|
|
blank=True, related_name='_clicrdv_users_+', related_query_name='+', to='base.ApiUser'
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
'verbose_name': 'Clicrdv Agenda',
|
|
},
|
|
),
|
|
]
|