2013-05-09 01:41:10 +04:00
# -*- coding: utf-8 -*-
import datetime
from south . db import db
from south . v2 import SchemaMigration
from django . db import models
2013-05-10 01:11:45 +04:00
from django . utils . timezone import now
2013-05-09 01:41:10 +04:00
class Migration ( SchemaMigration ) :
def forwards ( self , orm ) :
# Deleting field 'Job.creation_date'
db . delete_column ( u ' main_job ' , ' creation_date ' )
# Deleting field 'Job.use_sudo'
db . delete_column ( u ' main_job ' , ' use_sudo ' )
# Deleting field 'Job.result_stderr'
db . delete_column ( u ' main_job ' , ' result_stderr ' )
# Adding field 'Job.created'
db . add_column ( u ' main_job ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Adding field 'Job.failed'
db . add_column ( u ' main_job ' , ' failed ' ,
self . gf ( ' django.db.models.fields.BooleanField ' ) ( default = False ) ,
keep_default = False )
# Changing field 'Job.extra_vars'
db . alter_column ( u ' main_job ' , ' extra_vars ' , self . gf ( ' django.db.models.fields.TextField ' ) ( ) )
# Deleting field 'Inventory.creation_date'
db . delete_column ( u ' main_inventory ' , ' creation_date ' )
# Adding field 'Inventory.created'
db . add_column ( u ' main_inventory ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Host.creation_date'
db . delete_column ( u ' main_host ' , ' creation_date ' )
# Adding field 'Host.created'
db . add_column ( u ' main_host ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Adding field 'Host.last_job'
db . add_column ( u ' main_host ' , ' last_job ' ,
self . gf ( ' django.db.models.fields.related.ForeignKey ' ) ( related_name = ' hosts_as_last_job+ ' , on_delete = models . SET_NULL , default = None , to = orm [ ' main.Job ' ] , blank = True , null = True ) ,
keep_default = False )
# Adding field 'Host.last_job_host_summary'
db . add_column ( u ' main_host ' , ' last_job_host_summary ' ,
self . gf ( ' django.db.models.fields.related.ForeignKey ' ) ( related_name = ' hosts_as_last_job_summary+ ' , on_delete = models . SET_NULL , default = None , to = orm [ ' main.JobHostSummary ' ] , blank = True , null = True ) ,
keep_default = False )
# Deleting field 'Group.creation_date'
db . delete_column ( u ' main_group ' , ' creation_date ' )
# Adding field 'Group.created'
db . add_column ( u ' main_group ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Credential.creation_date'
db . delete_column ( u ' main_credential ' , ' creation_date ' )
# Adding field 'Credential.created'
db . add_column ( u ' main_credential ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'JobTemplate.use_sudo'
db . delete_column ( u ' main_jobtemplate ' , ' use_sudo ' )
# Deleting field 'JobTemplate.creation_date'
db . delete_column ( u ' main_jobtemplate ' , ' creation_date ' )
# Adding field 'JobTemplate.created'
db . add_column ( u ' main_jobtemplate ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Changing field 'JobTemplate.extra_vars'
db . alter_column ( u ' main_jobtemplate ' , ' extra_vars ' , self . gf ( ' django.db.models.fields.TextField ' ) ( ) )
# Deleting field 'Team.creation_date'
db . delete_column ( u ' main_team ' , ' creation_date ' )
# Adding field 'Team.created'
db . add_column ( u ' main_team ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Project.creation_date'
db . delete_column ( u ' main_project ' , ' creation_date ' )
# Adding field 'Project.created'
db . add_column ( u ' main_project ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Adding field 'JobEvent.failed'
db . add_column ( u ' main_jobevent ' , ' failed ' ,
self . gf ( ' django.db.models.fields.BooleanField ' ) ( default = False ) ,
keep_default = False )
# Deleting field 'Permission.creation_date'
db . delete_column ( u ' main_permission ' , ' creation_date ' )
# Adding field 'Permission.created'
db . add_column ( u ' main_permission ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'VariableData.creation_date'
db . delete_column ( u ' main_variabledata ' , ' creation_date ' )
# Adding field 'VariableData.created'
db . add_column ( u ' main_variabledata ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Organization.creation_date'
db . delete_column ( u ' main_organization ' , ' creation_date ' )
# Adding field 'Organization.created'
db . add_column ( u ' main_organization ' , ' created ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateTimeField ' ) ( auto_now_add = True , default = now , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
def backwards ( self , orm ) :
# Adding field 'Job.creation_date'
db . add_column ( u ' main_job ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Adding field 'Job.use_sudo'
db . add_column ( u ' main_job ' , ' use_sudo ' ,
self . gf ( ' django.db.models.fields.NullBooleanField ' ) ( default = None , null = True , blank = True ) ,
keep_default = False )
# Adding field 'Job.result_stderr'
db . add_column ( u ' main_job ' , ' result_stderr ' ,
self . gf ( ' django.db.models.fields.TextField ' ) ( default = ' ' , blank = True ) ,
keep_default = False )
# Deleting field 'Job.created'
db . delete_column ( u ' main_job ' , ' created ' )
# Deleting field 'Job.failed'
db . delete_column ( u ' main_job ' , ' failed ' )
2013-05-10 01:11:45 +04:00
# Changing field 'Job.extra_vars' (Disabled: something is broken when going from a TextField to JSONField)
#db.alter_column(u'main_job', 'extra_vars', self.gf('jsonfield.fields.JSONField')())
2013-05-09 01:41:10 +04:00
# Adding field 'Inventory.creation_date'
db . add_column ( u ' main_inventory ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Inventory.created'
db . delete_column ( u ' main_inventory ' , ' created ' )
# Adding field 'Host.creation_date'
db . add_column ( u ' main_host ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Host.created'
db . delete_column ( u ' main_host ' , ' created ' )
# Deleting field 'Host.last_job'
db . delete_column ( u ' main_host ' , ' last_job_id ' )
# Deleting field 'Host.last_job_host_summary'
db . delete_column ( u ' main_host ' , ' last_job_host_summary_id ' )
# Adding field 'Group.creation_date'
db . add_column ( u ' main_group ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Group.created'
db . delete_column ( u ' main_group ' , ' created ' )
# Adding field 'Credential.creation_date'
db . add_column ( u ' main_credential ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Credential.created'
db . delete_column ( u ' main_credential ' , ' created ' )
# Adding field 'JobTemplate.use_sudo'
db . add_column ( u ' main_jobtemplate ' , ' use_sudo ' ,
self . gf ( ' django.db.models.fields.NullBooleanField ' ) ( default = None , null = True , blank = True ) ,
keep_default = False )
# Adding field 'JobTemplate.creation_date'
db . add_column ( u ' main_jobtemplate ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'JobTemplate.created'
db . delete_column ( u ' main_jobtemplate ' , ' created ' )
2013-05-10 01:11:45 +04:00
# Changing field 'JobTemplate.extra_vars' (disabled: see above)
#db.alter_column(u'main_jobtemplate', 'extra_vars', self.gf('jsonfield.fields.JSONField')())
2013-05-09 01:41:10 +04:00
# Adding field 'Team.creation_date'
db . add_column ( u ' main_team ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Team.created'
db . delete_column ( u ' main_team ' , ' created ' )
# Adding field 'Project.creation_date'
db . add_column ( u ' main_project ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Project.created'
db . delete_column ( u ' main_project ' , ' created ' )
# Deleting field 'JobEvent.failed'
db . delete_column ( u ' main_jobevent ' , ' failed ' )
# Adding field 'Permission.creation_date'
db . add_column ( u ' main_permission ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Permission.created'
db . delete_column ( u ' main_permission ' , ' created ' )
# Adding field 'VariableData.creation_date'
db . add_column ( u ' main_variabledata ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'VariableData.created'
db . delete_column ( u ' main_variabledata ' , ' created ' )
# Adding field 'Organization.creation_date'
db . add_column ( u ' main_organization ' , ' creation_date ' ,
2013-05-10 01:11:45 +04:00
self . gf ( ' django.db.models.fields.DateField ' ) ( auto_now_add = True , default = datetime . date . today , blank = True ) ,
2013-05-09 01:41:10 +04:00
keep_default = False )
# Deleting field 'Organization.created'
db . delete_column ( u ' main_organization ' , ' created ' )
models = {
u ' auth.group ' : {
' Meta ' : { ' object_name ' : ' Group ' } ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 80 ' } ) ,
' permissions ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' to ' : u " orm[ ' auth.Permission ' ] " , ' symmetrical ' : ' False ' , ' blank ' : ' True ' } )
} ,
u ' auth.permission ' : {
' Meta ' : { ' ordering ' : " (u ' content_type__app_label ' , u ' content_type__model ' , u ' codename ' ) " , ' unique_together ' : " ((u ' content_type ' , u ' codename ' ),) " , ' object_name ' : ' Permission ' } ,
' codename ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 100 ' } ) ,
' content_type ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' to ' : u " orm[ ' contenttypes.ContentType ' ] " } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 50 ' } )
} ,
u ' auth.user ' : {
' Meta ' : { ' object_name ' : ' User ' } ,
' date_joined ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' default ' : ' datetime.datetime.now ' } ) ,
' email ' : ( ' django.db.models.fields.EmailField ' , [ ] , { ' max_length ' : ' 75 ' , ' blank ' : ' True ' } ) ,
' first_name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 30 ' , ' blank ' : ' True ' } ) ,
' groups ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' to ' : u " orm[ ' auth.Group ' ] " , ' symmetrical ' : ' False ' , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' is_active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' is_staff ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' False ' } ) ,
' is_superuser ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' False ' } ) ,
' last_login ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' default ' : ' datetime.datetime.now ' } ) ,
' last_name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 30 ' , ' blank ' : ' True ' } ) ,
' password ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 128 ' } ) ,
' user_permissions ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' to ' : u " orm[ ' auth.Permission ' ] " , ' symmetrical ' : ' False ' , ' blank ' : ' True ' } ) ,
' username ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 30 ' } )
} ,
u ' contenttypes.contenttype ' : {
' Meta ' : { ' ordering ' : " ( ' name ' ,) " , ' unique_together ' : " (( ' app_label ' , ' model ' ),) " , ' object_name ' : ' ContentType ' , ' db_table ' : " ' django_content_type ' " } ,
' app_label ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 100 ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' model ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 100 ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 100 ' } )
} ,
' main.audittrail ' : {
' Meta ' : { ' object_name ' : ' AuditTrail ' } ,
' comment ' : ( ' django.db.models.fields.TextField ' , [ ] , { } ) ,
' delta ' : ( ' django.db.models.fields.TextField ' , [ ] , { } ) ,
' detail ' : ( ' django.db.models.fields.TextField ' , [ ] , { } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' modified_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' to ' : u " orm[ ' auth.User ' ] " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' blank ' : ' True ' } ) ,
' resource_type ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 64 ' } ) ,
' tag ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' to ' : " orm[ ' main.Tag ' ] " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' blank ' : ' True ' } )
} ,
' main.credential ' : {
' Meta ' : { ' object_name ' : ' Credential ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' credential_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' credential \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } ) ,
' ssh_key_data ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' ssh_key_unlock ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' ssh_password ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' ssh_username ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' sudo_password ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' sudo_username ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' credential_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' team ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' credentials ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.Team ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
' user ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' credentials ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : u " orm[ ' auth.User ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } )
} ,
' main.group ' : {
' Meta ' : { ' unique_together ' : " (( ' name ' , ' inventory ' ),) " , ' object_name ' : ' Group ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' group_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' group \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' hosts ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' groups ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Host ' ] " } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' inventory ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' groups ' " , ' to ' : " orm[ ' main.Inventory ' ] " } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } ) ,
' parents ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' children ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Group ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' group_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' variable_data ' : ( ' django.db.models.fields.related.OneToOneField ' , [ ] , { ' related_name ' : " ' group ' " , ' unique ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.VariableData ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } )
} ,
' main.host ' : {
' Meta ' : { ' unique_together ' : " (( ' name ' , ' inventory ' ),) " , ' object_name ' : ' Host ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' host_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' host \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' inventory ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' hosts ' " , ' to ' : " orm[ ' main.Inventory ' ] " } ) ,
' last_job ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' hosts_as_last_job+ ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.Job ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
' last_job_host_summary ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' hosts_as_last_job_summary+ ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : u " orm[ ' main.JobHostSummary ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' host_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' variable_data ' : ( ' django.db.models.fields.related.OneToOneField ' , [ ] , { ' related_name ' : " ' host ' " , ' unique ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.VariableData ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } )
} ,
' main.inventory ' : {
' Meta ' : { ' unique_together ' : " (( ' name ' , ' organization ' ),) " , ' object_name ' : ' Inventory ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' inventory_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' inventory \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' organization ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' inventories ' " , ' to ' : " orm[ ' main.Organization ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' inventory_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } )
} ,
' main.job ' : {
' Meta ' : { ' object_name ' : ' Job ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' job_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' cancel_flag ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' False ' } ) ,
' celery_task_id ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 100 ' , ' blank ' : ' True ' } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' job \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' credential ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' jobs ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Credential ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' extra_vars ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' failed ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' False ' } ) ,
' forks ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' , ' blank ' : ' True ' } ) ,
' hosts ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' jobs ' " , ' blank ' : ' True ' , ' through ' : u " orm[ ' main.JobHostSummary ' ] " , ' to ' : " orm[ ' main.Host ' ] " } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' inventory ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' jobs ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Inventory ' ] " } ) ,
' job_template ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' jobs ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.JobTemplate ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
' job_type ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 64 ' } ) ,
' limit ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' playbook ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 1024 ' } ) ,
' project ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' jobs ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' main.Project ' ] " } ) ,
' result_stdout ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' result_traceback ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' status ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' new ' " , ' max_length ' : ' 20 ' } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' job_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' verbosity ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' , ' blank ' : ' True ' } )
} ,
' main.jobevent ' : {
' Meta ' : { ' ordering ' : " ( ' pk ' ,) " , ' object_name ' : ' JobEvent ' } ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' event ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 100 ' } ) ,
' event_data ' : ( ' jsonfield.fields.JSONField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' failed ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' False ' } ) ,
' host ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_events ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.Host ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' job ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_events ' " , ' to ' : " orm[ ' main.Job ' ] " } )
} ,
u ' main.jobhostsummary ' : {
' Meta ' : { ' ordering ' : " ( ' -pk ' ,) " , ' unique_together ' : " [( ' job ' , ' host ' )] " , ' object_name ' : ' JobHostSummary ' } ,
' changed ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } ) ,
' dark ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } ) ,
' failures ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } ) ,
' host ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_host_summaries ' " , ' to ' : " orm[ ' main.Host ' ] " } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' job ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_host_summaries ' " , ' to ' : " orm[ ' main.Job ' ] " } ) ,
' ok ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } ) ,
' processed ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } ) ,
' skipped ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' } )
} ,
' main.jobtemplate ' : {
' Meta ' : { ' object_name ' : ' JobTemplate ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' jobtemplate_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' jobtemplate \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' credential ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_templates ' " , ' on_delete ' : ' models.SET_NULL ' , ' default ' : ' None ' , ' to ' : " orm[ ' main.Credential ' ] " , ' blank ' : ' True ' , ' null ' : ' True ' } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' extra_vars ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
' forks ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' inventory ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_templates ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Inventory ' ] " } ) ,
' job_type ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 64 ' } ) ,
' limit ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' , ' blank ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' playbook ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' default ' : " ' ' " , ' max_length ' : ' 1024 ' } ) ,
' project ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' job_templates ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' main.Project ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' jobtemplate_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' verbosity ' : ( ' django.db.models.fields.PositiveIntegerField ' , [ ] , { ' default ' : ' 0 ' , ' blank ' : ' True ' } )
} ,
' main.organization ' : {
' Meta ' : { ' object_name ' : ' Organization ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' admins ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' admin_of_organizations ' " , ' blank ' : ' True ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' organization_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' organization \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' projects ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' organizations ' " , ' blank ' : ' True ' , ' to ' : u " orm[ ' main.Project ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' organization_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' users ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' organizations ' " , ' blank ' : ' True ' , ' to ' : u " orm[ ' auth.User ' ] " } )
} ,
' main.permission ' : {
' Meta ' : { ' object_name ' : ' Permission ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' permission_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' permission \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' inventory ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' permissions ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Inventory ' ] " } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } ) ,
' permission_type ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 64 ' } ) ,
' project ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' blank ' : ' True ' , ' related_name ' : " ' permissions ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' main.Project ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' permission_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' team ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' blank ' : ' True ' , ' related_name ' : " ' permissions ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Team ' ] " } ) ,
' user ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' blank ' : ' True ' , ' related_name ' : " ' permissions ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } )
} ,
u ' main.project ' : {
' Meta ' : { ' object_name ' : ' Project ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' project_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' project \' , \' app_label \' : u \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' local_path ' : ( ' django.db.models.fields.FilePathField ' , [ ] , { ' path ' : " ' /Users/chris/Sandbox/ansible-commander/lib/projects ' " , ' unique ' : ' True ' , ' max_length ' : ' 1024 ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' project_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } )
} ,
' main.tag ' : {
' Meta ' : { ' object_name ' : ' Tag ' } ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } )
} ,
' main.team ' : {
' Meta ' : { ' object_name ' : ' Team ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' team_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' team \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' unique ' : ' True ' , ' max_length ' : ' 512 ' } ) ,
' organization ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : " ' teams ' " , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : " orm[ ' main.Organization ' ] " } ) ,
' projects ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' teams ' " , ' blank ' : ' True ' , ' to ' : u " orm[ ' main.Project ' ] " } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' team_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } ) ,
' users ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' teams ' " , ' blank ' : ' True ' , ' to ' : u " orm[ ' auth.User ' ] " } )
} ,
' main.variabledata ' : {
' Meta ' : { ' object_name ' : ' VariableData ' } ,
' active ' : ( ' django.db.models.fields.BooleanField ' , [ ] , { ' default ' : ' True ' } ) ,
' audit_trail ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' variabledata_by_audit_trail ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.AuditTrail ' ] " } ) ,
' created ' : ( ' django.db.models.fields.DateTimeField ' , [ ] , { ' auto_now_add ' : ' True ' , ' blank ' : ' True ' } ) ,
' created_by ' : ( ' django.db.models.fields.related.ForeignKey ' , [ ] , { ' related_name ' : ' " { \' class \' : \' variabledata \' , \' app_label \' : \' main \' }(class)s_created " ' , ' null ' : ' True ' , ' on_delete ' : ' models.SET_NULL ' , ' to ' : u " orm[ ' auth.User ' ] " } ) ,
2013-05-10 01:11:45 +04:00
' data ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " } ) ,
2013-05-09 01:41:10 +04:00
' description ' : ( ' django.db.models.fields.TextField ' , [ ] , { ' default ' : " ' ' " , ' blank ' : ' True ' } ) ,
u ' id ' : ( ' django.db.models.fields.AutoField ' , [ ] , { ' primary_key ' : ' True ' } ) ,
' name ' : ( ' django.db.models.fields.CharField ' , [ ] , { ' max_length ' : ' 512 ' } ) ,
' tags ' : ( ' django.db.models.fields.related.ManyToManyField ' , [ ] , { ' symmetrical ' : ' False ' , ' related_name ' : " ' variabledata_by_tag ' " , ' blank ' : ' True ' , ' to ' : " orm[ ' main.Tag ' ] " } )
}
}
2013-05-10 01:11:45 +04:00
complete_apps = [ ' main ' ]