Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
391 lines (360 sloc) 29.8 KB
from south.db import db
from django.db import models
from contacts_and_people.models import *
class Migration:
def forwards(self, orm):
# Adding model 'PersonLite'
db.create_table('contacts_and_people_personlite', (
('id', orm['contacts_and_people.PersonLite:id']),
('title', orm['contacts_and_people.PersonLite:title']),
('given_name', orm['contacts_and_people.PersonLite:given_name']),
('middle_names', orm['contacts_and_people.PersonLite:middle_names']),
('surname', orm['contacts_and_people.PersonLite:surname']),
))
db.send_create_signal('contacts_and_people', ['PersonLite'])
# Adding model 'Title'
db.create_table('contacts_and_people_title', (
('id', orm['contacts_and_people.Title:id']),
('title', orm['contacts_and_people.Title:title']),
('abbreviation', orm['contacts_and_people.Title:abbreviation']),
))
db.send_create_signal('contacts_and_people', ['Title'])
# Adding model 'Entity'
db.create_table('contacts_and_people_entity', (
('entitylite_ptr', orm['contacts_and_people.Entity:entitylite_ptr']),
('precise_location', orm['contacts_and_people.Entity:precise_location']),
('access_note', orm['contacts_and_people.Entity:access_note']),
('email', orm['contacts_and_people.Entity:email']),
('short_name', orm['contacts_and_people.Entity:short_name']),
('slug', orm['contacts_and_people.Entity:slug']),
('abstract_entity', orm['contacts_and_people.Entity:abstract_entity']),
('parent', orm['contacts_and_people.Entity:parent']),
('display_parent', orm['contacts_and_people.Entity:display_parent']),
('building', orm['contacts_and_people.Entity:building']),
('website', orm['contacts_and_people.Entity:website']),
('auto_news_page', orm['contacts_and_people.Entity:auto_news_page']),
('news_page_menu_title', orm['contacts_and_people.Entity:news_page_menu_title']),
('auto_contacts_page', orm['contacts_and_people.Entity:auto_contacts_page']),
('contacts_page_menu_title', orm['contacts_and_people.Entity:contacts_page_menu_title']),
('auto_vacancies_page', orm['contacts_and_people.Entity:auto_vacancies_page']),
('vacancies_page_menu_title', orm['contacts_and_people.Entity:vacancies_page_menu_title']),
('image', orm['contacts_and_people.Entity:image']),
('lft', orm['contacts_and_people.Entity:lft']),
('rght', orm['contacts_and_people.Entity:rght']),
('tree_id', orm['contacts_and_people.Entity:tree_id']),
('level', orm['contacts_and_people.Entity:level']),
))
db.send_create_signal('contacts_and_people', ['Entity'])
# Adding model 'Membership'
db.create_table('contacts_and_people_membership', (
('id', orm['contacts_and_people.Membership:id']),
('person', orm['contacts_and_people.Membership:person']),
('entity', orm['contacts_and_people.Membership:entity']),
('display_role', orm['contacts_and_people.Membership:display_role']),
('home', orm['contacts_and_people.Membership:home']),
('role', orm['contacts_and_people.Membership:role']),
('key_member', orm['contacts_and_people.Membership:key_member']),
('key_contact', orm['contacts_and_people.Membership:key_contact']),
('order', orm['contacts_and_people.Membership:order']),
('membership_order', orm['contacts_and_people.Membership:membership_order']),
))
db.send_create_signal('contacts_and_people', ['Membership'])
# Adding model 'Site'
db.create_table('contacts_and_people_site', (
('id', orm['contacts_and_people.Site:id']),
('site_name', orm['contacts_and_people.Site:site_name']),
('post_town', orm['contacts_and_people.Site:post_town']),
('country', orm['contacts_and_people.Site:country']),
('description', orm['contacts_and_people.Site:description']),
('image', orm['contacts_and_people.Site:image']),
))
db.send_create_signal('contacts_and_people', ['Site'])
# Adding model 'Building'
db.create_table('contacts_and_people_building', (
('id', orm['contacts_and_people.Building:id']),
('name', orm['contacts_and_people.Building:name']),
('number', orm['contacts_and_people.Building:number']),
('street', orm['contacts_and_people.Building:street']),
('additional_street_address', orm['contacts_and_people.Building:additional_street_address']),
('postcode', orm['contacts_and_people.Building:postcode']),
('site', orm['contacts_and_people.Building:site']),
('slug', orm['contacts_and_people.Building:slug']),
('image', orm['contacts_and_people.Building:image']),
))
db.send_create_signal('contacts_and_people', ['Building'])
# Adding model 'PhoneContact'
db.create_table('contacts_and_people_phonecontact', (
('id', orm['contacts_and_people.PhoneContact:id']),
('label', orm['contacts_and_people.PhoneContact:label']),
('country_code', orm['contacts_and_people.PhoneContact:country_code']),
('area_code', orm['contacts_and_people.PhoneContact:area_code']),
('number', orm['contacts_and_people.PhoneContact:number']),
('internal_extension', orm['contacts_and_people.PhoneContact:internal_extension']),
('content_type', orm['contacts_and_people.PhoneContact:content_type']),
('object_id', orm['contacts_and_people.PhoneContact:object_id']),
))
db.send_create_signal('contacts_and_people', ['PhoneContact'])
# Adding model 'EntityLite'
db.create_table('contacts_and_people_entitylite', (
('id', orm['contacts_and_people.EntityLite:id']),
('name', orm['contacts_and_people.EntityLite:name']),
))
db.send_create_signal('contacts_and_people', ['EntityLite'])
# Adding model 'Person'
db.create_table('contacts_and_people_person', (
('personlite_ptr', orm['contacts_and_people.Person:personlite_ptr']),
('precise_location', orm['contacts_and_people.Person:precise_location']),
('access_note', orm['contacts_and_people.Person:access_note']),
('email', orm['contacts_and_people.Person:email']),
('user', orm['contacts_and_people.Person:user']),
('slug', orm['contacts_and_people.Person:slug']),
('override_entity', orm['contacts_and_people.Person:override_entity']),
('please_contact', orm['contacts_and_people.Person:please_contact']),
('image', orm['contacts_and_people.Person:image']),
('staff_id', orm['contacts_and_people.Person:staff_id']),
('data_feed_locked', orm['contacts_and_people.Person:data_feed_locked']),
))
db.send_create_signal('contacts_and_people', ['Person'])
# Adding model 'Teacher'
db.create_table('contacts_and_people_teacher', (
('id', orm['contacts_and_people.Teacher:id']),
('person', orm['contacts_and_people.Teacher:person']),
('dummy_field_one', orm['contacts_and_people.Teacher:dummy_field_one']),
('dummy_field_two', orm['contacts_and_people.Teacher:dummy_field_two']),
))
db.send_create_signal('contacts_and_people', ['Teacher'])
def backwards(self, orm):
# Deleting model 'PersonLite'
db.delete_table('contacts_and_people_personlite')
# Deleting model 'Title'
db.delete_table('contacts_and_people_title')
# Deleting model 'Entity'
db.delete_table('contacts_and_people_entity')
# Deleting model 'Membership'
db.delete_table('contacts_and_people_membership')
# Deleting model 'Site'
db.delete_table('contacts_and_people_site')
# Deleting model 'Building'
db.delete_table('contacts_and_people_building')
# Deleting model 'PhoneContact'
db.delete_table('contacts_and_people_phonecontact')
# Deleting model 'EntityLite'
db.delete_table('contacts_and_people_entitylite')
# Deleting model 'Person'
db.delete_table('contacts_and_people_person')
# Deleting model 'Teacher'
db.delete_table('contacts_and_people_teacher')
models = {
'auth.group': {
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
},
'auth.permission': {
'Meta': {'unique_together': "(('content_type', 'codename'),)"},
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
},
'auth.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': "orm['auth.Group']", 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'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': "orm['auth.Permission']", 'blank': 'True'}),
'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
},
'cms.page': {
'changed_by': ('django.db.models.fields.CharField', [], {'max_length': '70'}),
'created_by': ('django.db.models.fields.CharField', [], {'max_length': '70'}),
'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'in_navigation': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_index': 'True', 'blank': 'True'}),
'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'login_required': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'menu_login_required': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'moderator_state': ('django.db.models.fields.SmallIntegerField', [], {'default': '1', 'blank': 'True'}),
'navigation_extenders': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'blank': 'True', 'null': 'True', 'to': "orm['cms.Page']"}),
'publication_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
'publication_end_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
'published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'publisher_is_draft': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'db_index': 'True', 'blank': 'True'}),
'publisher_public': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'publisher_draft'", 'unique': 'True', 'null': 'True', 'to': "orm['cms.Page']"}),
'publisher_state': ('django.db.models.fields.SmallIntegerField', [], {'default': '0', 'db_index': 'True'}),
'reverse_id': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '40', 'null': 'True', 'blank': 'True'}),
'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'site': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['sites.Site']"}),
'soft_root': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True', 'blank': 'True'}),
'template': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
},
'contacts_and_people.building': {
'additional_street_address': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['image_filer.Image']", 'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'number': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
'postcode': ('django.db.models.fields.CharField', [], {'max_length': '9', 'null': 'True', 'blank': 'True'}),
'site': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contacts_and_people.Site']"}),
'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'})
},
'contacts_and_people.entity': {
'abstract_entity': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'access_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'auto_contacts_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'auto_news_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'auto_vacancies_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'building': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contacts_and_people.Building']", 'null': 'True', 'blank': 'True'}),
'contacts_page_menu_title': ('django.db.models.fields.CharField', [], {'default': "'Contacts & people'", 'max_length': '50'}),
'display_parent': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
'entitylite_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['contacts_and_people.EntityLite']", 'unique': 'True', 'primary_key': 'True'}),
'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['image_filer.Image']", 'null': 'True', 'blank': 'True'}),
'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'news_page_menu_title': ('django.db.models.fields.CharField', [], {'default': "'News & events'", 'max_length': '50'}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'blank': 'True', 'null': 'True', 'to': "orm['contacts_and_people.Entity']"}),
'phone_contacts': ('django.contrib.contenttypes.generic.GenericRelation', [], {'to': "orm['contacts_and_people.PhoneContact']"}),
'precise_location': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'short_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'db_index': 'True'}),
'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'vacancies_page_menu_title': ('django.db.models.fields.CharField', [], {'default': "'Vacancies & studentships'", 'max_length': '50'}),
'website': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'entity'", 'unique': 'True', 'null': 'True', 'to': "orm['cms.Page']"})
},
'contacts_and_people.entitylite': {
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
},
'contacts_and_people.membership': {
'display_role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'display_roles'", 'blank': 'True', 'null': 'True', 'to': "orm['contacts_and_people.Membership']"}),
'entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'members'", 'to': "orm['contacts_and_people.Entity']"}),
'home': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'key_contact': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'key_member': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'membership_order': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'order': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'person': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'member_of'", 'to': "orm['contacts_and_people.Person']"}),
'role': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'})
},
'contacts_and_people.person': {
'access_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'data_feed_locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
'entities': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['contacts_and_people.Entity']", 'null': 'True', 'blank': 'True'}),
'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['image_filer.Image']", 'null': 'True', 'blank': 'True'}),
'override_entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'people_override'", 'blank': 'True', 'null': 'True', 'to': "orm['contacts_and_people.Entity']"}),
'personlite_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['contacts_and_people.PersonLite']", 'unique': 'True', 'primary_key': 'True'}),
'phone_contacts': ('django.contrib.contenttypes.generic.GenericRelation', [], {'to': "orm['contacts_and_people.PhoneContact']"}),
'please_contact': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'contact_for'", 'blank': 'True', 'null': 'True', 'to': "orm['contacts_and_people.Person']"}),
'precise_location': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'}),
'staff_id': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True'}),
'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'person_user'", 'unique': 'True', 'null': 'True', 'to': "orm['auth.User']"})
},
'contacts_and_people.personlite': {
'given_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'middle_names': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'surname': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'title': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contacts_and_people.Title']", 'to_field': "'abbreviation'", 'null': 'True', 'blank': 'True'})
},
'contacts_and_people.phonecontact': {
'area_code': ('django.db.models.fields.CharField', [], {'default': "'029'", 'max_length': '5'}),
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
'country_code': ('django.db.models.fields.CharField', [], {'default': "'44'", 'max_length': '5'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'internal_extension': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
'label': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '64', 'null': 'True', 'blank': 'True'}),
'number': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
'object_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True'})
},
'contacts_and_people.site': {
'country': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'description': ('django.db.models.fields.TextField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['image_filer.Image']", 'null': 'True', 'blank': 'True'}),
'post_town': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'site_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'unique': 'True'})
},
'contacts_and_people.teacher': {
'dummy_field_one': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'dummy_field_two': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'person': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'teacher'", 'unique': 'True', 'null': 'True', 'to': "orm['contacts_and_people.Person']"})
},
'contacts_and_people.title': {
'abbreviation': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '50', 'unique': 'True'})
},
'contenttypes.contenttype': {
'Meta': {'unique_together': "(('app_label', 'model'),)", 'db_table': "'django_content_type'"},
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'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'})
},
'image_filer.folder': {
'Meta': {'unique_together': "(('parent', 'name'),)"},
'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_folders'", 'blank': 'True', 'null': 'True', 'to': "orm['auth.User']"}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'blank': 'True', 'null': 'True', 'to': "orm['image_filer.Folder']"}),
'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
},
'image_filer.image': {
'_height_field': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'_width_field': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'can_use_for_print': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'can_use_for_private_use': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'can_use_for_research': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'can_use_for_teaching': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'can_use_for_web': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
'contact': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'contact_of_files'", 'blank': 'True', 'null': 'True', 'to': "orm['auth.User']"}),
'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'file': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'folder': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'image_files'", 'blank': 'True', 'null': 'True', 'to': "orm['image_filer.Folder']"}),
'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_images'", 'blank': 'True', 'null': 'True', 'to': "orm['auth.User']"}),
'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'}),
'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
'usage_restriction_notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
},
'sites.site': {
'Meta': {'db_table': "'django_site'"},
'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
}
}
complete_apps = ['contacts_and_people']
Something went wrong with that request. Please try again.